spec/framework_spec/app/spec/library/set/shared/difference.rb in rhodes-3.2.0.beta.4 vs spec/framework_spec/app/spec/library/set/shared/difference.rb in rhodes-3.2.0.beta.5

- old
+ new

@@ -7,9 +7,9 @@ @set.send(@method, Set[:a, :b]).should == Set[:c] @set.send(@method, [:b, :c]).should == Set[:a] end it "raises an ArgumentError when passed a non-Enumerable" do - lambda { @set.send(@method, 1) }.should raise_error(NoMethodError) - lambda { @set.send(@method, Object.new) }.should raise_error(NoMethodError) + lambda { @set.send(@method, 1) }.should raise_error(ArgumentError) + lambda { @set.send(@method, Object.new) }.should raise_error(ArgumentError) end end