1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Fixed failing feature.

This commit is contained in:
John Nunemaker 2010-07-07 16:13:16 -04:00
parent 08b32b7b02
commit c8a7b4196b

View file

@ -1,5 +1,5 @@
Then /it should return an? (\w+)$/ do |class_string|
@response_from_httparty.should be_an_instance_of(class_string.constantize)
@response_from_httparty.should be_an_instance_of(class_string.class)
end
Then /the return value should match '(.*)'/ do |expected_text|