features/step_definitions/calais_steps.rb in jakal-0.0.9 vs features/step_definitions/calais_steps.rb in jakal-0.1.0

- old
+ new

@@ -42,11 +42,11 @@ tags.length.should > 0 end When /^I request the nested entities from calais$/ do key = YAML::load_file('config/keys.yml')['calais'] - @response = Jkl::get_calais_metadata key, @text + @response = Jkl::tags key, @text end -Then /^I should get a decent response$/ do +Then /^I should receive the entities grouped into categories$/ do @response.eql?({"Person"=>["Barack Obama", "Hillary Clinton"], "Position"=>["Secretary of State"]}).should == true end