update maps spec

This commit is contained in:
Devin Howard 2016-02-13 17:44:11 +08:00
parent 8ef847bd6d
commit bbc36de628

View file

@ -10,7 +10,7 @@ RSpec.describe MapsController, type: :controller do
describe 'GET #index' do
it 'viewable maps as @maps' do
get :index, {}
get :activemaps
expect(assigns(:maps)).to eq([map])
end
end