mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 20:41:11 +08:00
Upgrade rspec to 3.4.0.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user