Skip to content

Commit

Permalink
fix spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Aug 29, 2021
1 parent 8c219ab commit 0f57522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/manifestations_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def valid_attributes
expect(assigns(:manifestations)).to_not be_nil
end

it 'assigns all manifestations as @manifestations in txt format without operation' do
get :index, format: 'txt'
it 'assigns all manifestations as @manifestations in text format without operation' do
get :index, format: :text
expect(response).to be_successful
expect(assigns(:manifestations)).to_not be_nil
expect(response).to render_template('manifestations/index')
Expand Down

0 comments on commit 0f57522

Please sign in to comment.