spec/resource_spec.rb in survey-gizmo-ruby-1.0.3 vs spec/resource_spec.rb in survey-gizmo-ruby-1.0.4

- old
+ new

@@ -45,10 +45,10 @@ it_should_behave_like 'an API object' it_should_behave_like 'an object with errors' end describe SurveyGizmo::API::Survey do - let(:create_attributes){ {:title => 'Spec', :_type => 'survey', :status => 'In Design'} } + let(:create_attributes){ {:title => 'Spec', :type => 'survey', :status => 'In Design'} } let(:get_attributes) { create_attributes.merge(:id => 1234) } let(:update_attributes){ {:title => 'Updated'} } let(:first_params){ {:id => 1234} } let(:uri_paths){ h = { :create => '/survey' }