spec/sucker/response_spec.rb in sucker-1.4.0 vs spec/sucker/response_spec.rb in sucker-1.4.1

- old
+ new

@@ -64,11 +64,11 @@ context "when no block is given" do it "raises error" do expect do response.each("ItemAttributes") - end.to raise_error(LocalJumpError) + end.to raise_error(NoMethodError) end end end describe '#find' do @@ -97,10 +97,10 @@ context "when no block is given" do it "raises error" do expect do response.map("ItemAttributes") - end.to raise_error(LocalJumpError) + end.to raise_error(NoMethodError) end end end describe '#[]' do