Skip to content

Commit

Permalink
change params
Browse files Browse the repository at this point in the history
  • Loading branch information
kjgarza committed Aug 21, 2018
1 parent ea217c7 commit e34ade6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/fixtures/files/report_8.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"release": "rd2",
"created": "2018-05-11",
"reporting_period": {
"begin_date": "2129-05-09",
"end_date": "2129-05-09"
"begin-date": "2129-05-09",
"end-date": "2129-05-09"
},
"created-by": "Dash",
"report-attributes": [],
Expand Down
4 changes: 2 additions & 2 deletions spec/requests/reports_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,9 @@
let(:params_update) {file_fixture('report_8.json').read}


before { put "/reports/#{uid}", params: params, headers: headers }
before { put "/reports/#{uid}", params: params_update, headers: headers }

before { put "/reports/#{second_uid}", params: params, headers: headers }
before { put "/reports/#{second_uid}", params: params_update, headers: headers }

it "should fail update report" do

Expand Down

0 comments on commit e34ade6

Please sign in to comment.