# File tests/drivers/mock/instance_states_test.rb, line 48 def test_it_responses_to_json # FIXME: This test is suffering from conflict between JSON gem and Activesupport # gem in EC2. # #do_request '/api/instance_states', {}, false, { :format => :json } #JSON::parse(last_response.body).class.should == Array #JSON::parse(last_response.body).first['transitions'].class.should == Array #JSON::parse(last_response.body).first['name'].should == 'start' end