spec/resource_spec.rb in survey-gizmo-ruby-3.0.3 vs spec/resource_spec.rb in survey-gizmo-ruby-4.0.0

- old
+ new

@@ -133,10 +133,10 @@ it_should_behave_like 'an API object' it_should_behave_like 'an object with errors' end describe SurveyGizmo::API::Page do - let(:create_attributes) { {:survey_id => 1234, :title => {'English' => 'Spec Page'}} } + let(:create_attributes) { {:survey_id => 1234, :title => 'Spec Page' } } let(:get_attributes) { create_attributes.merge(:id => 1) } let(:update_attributes) { {:survey_id => 1234, :title => 'Updated'} } let(:first_params) { {:id => 1, :survey_id => 1234 } } let(:uri_paths){ h = { :create => '/survey/1234/surveypage' }