Upgrade rspec to 3.4.0.

This commit is contained in:
Guo Xiang Tan
2016-05-30 11:38:04 +08:00
parent e11c83341c
commit cb5be1fe8f
15 changed files with 40 additions and 44 deletions

View File

@ -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