6 7 8 9 10 11
# File 'lib/unfuzzle/test/unit/unfuzzle/priority_test.rb', line 6 def self.should_have_a_name_of(name, options) should "have a name of '#{name}' when the priority is #{options[:when]}" do p = Priority.new(options[:when]) p.name.should == name end end