spec/live/macro_spec.rb in zendesk_api-1.3.9 vs spec/live/macro_spec.rb in zendesk_api-1.4.0
- old
+ new
@@ -26,17 +26,17 @@
end
describe "to a ticket" do
it "should return a hash" do
result = subject.apply(ticket)
- result.should be_instance_of(Hashie::Mash)
- result.ticket.should_not be_nil
+ expect(result).to be_instance_of(Hashie::Mash)
+ expect(result.ticket).to_not be_nil
end
end
it "should be appliable" do
result = subject.apply
- result.should be_instance_of(Hashie::Mash)
- result.ticket.should_not be_nil
+ expect(result).to be_instance_of(Hashie::Mash)
+ expect(result.ticket).to_not be_nil
end
end
end