mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
Upgrade rspec to 3.4.0.
This commit is contained in:
@ -3,7 +3,7 @@ require 'rails_helper'
|
||||
describe DirectoryItemsController do
|
||||
|
||||
it "requires a `period` param" do
|
||||
expect{ xhr :get, :index }.to raise_error
|
||||
expect{ xhr :get, :index }.to raise_error(ActionController::ParameterMissing)
|
||||
end
|
||||
|
||||
it "requires a proper `period` param" do
|
||||
|
Reference in New Issue
Block a user