mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
lk | update rails version, fix logging in specs, and remove turbolinks
This commit is contained in:
@@ -11,7 +11,9 @@ describe BikesController do
|
||||
|
||||
describe "POST #create" do
|
||||
it "creates a new bike with valid credentials" do
|
||||
expect{post :create, bike: FactoryGirl.attributes_for(:bike)}.to change(Bike, :count).by(1)
|
||||
expect{
|
||||
post :create, bike: FactoryGirl.attributes_for(:bike)
|
||||
}.to change(Bike, :count).by(1)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user