mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Upgrade rspec to 3.4.0.
This commit is contained in:
parent
e11c83341c
commit
cb5be1fe8f
15 changed files with 40 additions and 44 deletions
|
@ -5,7 +5,7 @@ describe UserActionsController do
|
|||
context 'index' do
|
||||
|
||||
it 'fails if username is not specified' do
|
||||
expect { xhr :get, :index }.to raise_error
|
||||
expect { xhr :get, :index }.to raise_error(ActionController::ParameterMissing)
|
||||
end
|
||||
|
||||
it 'renders list correctly' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue