mirror of
https://github.com/fspc/bike-database.git
synced 2025-02-23 01:23:24 -05:00
lk | update rails version, fix logging in specs, and remove turbolinks
This commit is contained in:
parent
2c98232f46
commit
ac9921a879
4
Gemfile
4
Gemfile
@ -1,6 +1,6 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'rails', '4.0.1'
|
gem 'rails', '4.2'
|
||||||
gem 'pg', '0.15.1'
|
gem 'pg', '0.15.1'
|
||||||
gem 'bcrypt-ruby', '3.1.2'
|
gem 'bcrypt-ruby', '3.1.2'
|
||||||
gem 'devise'
|
gem 'devise'
|
||||||
@ -41,8 +41,6 @@ end
|
|||||||
|
|
||||||
gem 'uglifier', '2.1.1'
|
gem 'uglifier', '2.1.1'
|
||||||
gem 'jquery-rails', '3.0.4'
|
gem 'jquery-rails', '3.0.4'
|
||||||
gem 'jquery-turbolinks'
|
|
||||||
gem 'turbolinks', '1.1.1'
|
|
||||||
gem 'jbuilder', '1.0.2'
|
gem 'jbuilder', '1.0.2'
|
||||||
|
|
||||||
group :doc do
|
group :doc do
|
||||||
|
227
Gemfile.lock
227
Gemfile.lock
@ -1,32 +1,43 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
actionmailer (4.0.1)
|
actionmailer (4.2.0)
|
||||||
actionpack (= 4.0.1)
|
actionpack (= 4.2.0)
|
||||||
mail (~> 2.5.4)
|
actionview (= 4.2.0)
|
||||||
actionpack (4.0.1)
|
activejob (= 4.2.0)
|
||||||
activesupport (= 4.0.1)
|
mail (~> 2.5, >= 2.5.4)
|
||||||
builder (~> 3.1.0)
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||||
erubis (~> 2.7.0)
|
actionpack (4.2.0)
|
||||||
rack (~> 1.5.2)
|
actionview (= 4.2.0)
|
||||||
|
activesupport (= 4.2.0)
|
||||||
|
rack (~> 1.6.0)
|
||||||
rack-test (~> 0.6.2)
|
rack-test (~> 0.6.2)
|
||||||
activemodel (4.0.1)
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||||
activesupport (= 4.0.1)
|
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
||||||
builder (~> 3.1.0)
|
actionview (4.2.0)
|
||||||
activerecord (4.0.1)
|
activesupport (= 4.2.0)
|
||||||
activemodel (= 4.0.1)
|
builder (~> 3.1)
|
||||||
activerecord-deprecated_finders (~> 1.0.2)
|
erubis (~> 2.7.0)
|
||||||
activesupport (= 4.0.1)
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||||
arel (~> 4.0.0)
|
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
||||||
activerecord-deprecated_finders (1.0.4)
|
activejob (4.2.0)
|
||||||
activesupport (4.0.1)
|
activesupport (= 4.2.0)
|
||||||
i18n (~> 0.6, >= 0.6.4)
|
globalid (>= 0.3.0)
|
||||||
minitest (~> 4.2)
|
activemodel (4.2.0)
|
||||||
multi_json (~> 1.3)
|
activesupport (= 4.2.0)
|
||||||
thread_safe (~> 0.1)
|
builder (~> 3.1)
|
||||||
tzinfo (~> 0.3.37)
|
activerecord (4.2.0)
|
||||||
|
activemodel (= 4.2.0)
|
||||||
|
activesupport (= 4.2.0)
|
||||||
|
arel (~> 6.0)
|
||||||
|
activesupport (4.2.0)
|
||||||
|
i18n (~> 0.7)
|
||||||
|
json (~> 1.7, >= 1.7.7)
|
||||||
|
minitest (~> 5.1)
|
||||||
|
thread_safe (~> 0.3, >= 0.3.4)
|
||||||
|
tzinfo (~> 1.1)
|
||||||
addressable (2.3.8)
|
addressable (2.3.8)
|
||||||
arel (4.0.2)
|
arel (6.0.3)
|
||||||
assert_difference (1.0.0)
|
assert_difference (1.0.0)
|
||||||
activesupport (>= 3.0.0)
|
activesupport (>= 3.0.0)
|
||||||
bcrypt (3.1.10)
|
bcrypt (3.1.10)
|
||||||
@ -39,30 +50,62 @@ GEM
|
|||||||
debug_inspector (>= 0.0.1)
|
debug_inspector (>= 0.0.1)
|
||||||
bootstrap-sass (2.3.2.0)
|
bootstrap-sass (2.3.2.0)
|
||||||
sass (~> 3.2)
|
sass (~> 3.2)
|
||||||
builder (3.1.4)
|
builder (3.2.2)
|
||||||
capybara (2.2.0)
|
capybara (2.2.0)
|
||||||
mime-types (>= 1.16)
|
mime-types (>= 1.16)
|
||||||
nokogiri (>= 1.3.3)
|
nokogiri (>= 1.3.3)
|
||||||
rack (>= 1.0.0)
|
rack (>= 1.0.0)
|
||||||
rack-test (>= 0.5.4)
|
rack-test (>= 0.5.4)
|
||||||
xpath (~> 2.0)
|
xpath (~> 2.0)
|
||||||
celluloid (0.16.0)
|
celluloid (0.17.1.2)
|
||||||
timers (~> 4.0.0)
|
bundler
|
||||||
|
celluloid-essentials
|
||||||
|
celluloid-extras
|
||||||
|
celluloid-fsm
|
||||||
|
celluloid-pool
|
||||||
|
celluloid-supervision
|
||||||
|
dotenv
|
||||||
|
nenv
|
||||||
|
rspec-logsplit (>= 0.1.2)
|
||||||
|
timers (>= 4.1.1)
|
||||||
|
celluloid-essentials (0.20.2.1)
|
||||||
|
bundler
|
||||||
|
dotenv
|
||||||
|
nenv
|
||||||
|
rspec-logsplit (>= 0.1.2)
|
||||||
|
timers (>= 4.1.1)
|
||||||
|
celluloid-extras (0.20.1)
|
||||||
|
bundler
|
||||||
|
dotenv
|
||||||
|
nenv
|
||||||
|
rspec-logsplit (>= 0.1.2)
|
||||||
|
timers (>= 4.1.1)
|
||||||
|
celluloid-fsm (0.20.1)
|
||||||
|
bundler
|
||||||
|
dotenv
|
||||||
|
nenv
|
||||||
|
rspec-logsplit (>= 0.1.2)
|
||||||
|
timers (>= 4.1.1)
|
||||||
|
celluloid-pool (0.20.1)
|
||||||
|
bundler
|
||||||
|
dotenv
|
||||||
|
nenv
|
||||||
|
rspec-logsplit (>= 0.1.2)
|
||||||
|
timers (>= 4.1.1)
|
||||||
|
celluloid-supervision (0.20.1.1)
|
||||||
|
bundler
|
||||||
|
dotenv
|
||||||
|
nenv
|
||||||
|
rspec-logsplit (>= 0.1.2)
|
||||||
|
timers (>= 4.1.1)
|
||||||
childprocess (0.5.6)
|
childprocess (0.5.6)
|
||||||
ffi (~> 1.0, >= 1.0.11)
|
ffi (~> 1.0, >= 1.0.11)
|
||||||
coderay (1.1.0)
|
coderay (1.1.0)
|
||||||
coffee-rails (4.1.0)
|
connection_pool (2.2.0)
|
||||||
coffee-script (>= 2.2.0)
|
|
||||||
railties (>= 4.0.0, < 5.0)
|
|
||||||
coffee-script (2.4.1)
|
|
||||||
coffee-script-source
|
|
||||||
execjs
|
|
||||||
coffee-script-source (1.9.1.1)
|
|
||||||
connection_pool (2.1.3)
|
|
||||||
crack (0.4.2)
|
crack (0.4.2)
|
||||||
safe_yaml (~> 1.0.0)
|
safe_yaml (~> 1.0.0)
|
||||||
debug_inspector (0.0.2)
|
debug_inspector (0.0.2)
|
||||||
devise (3.4.1)
|
devise (3.5.2)
|
||||||
bcrypt (~> 3.0)
|
bcrypt (~> 3.0)
|
||||||
orm_adapter (~> 0.1)
|
orm_adapter (~> 0.1)
|
||||||
railties (>= 3.2.6, < 5)
|
railties (>= 3.2.6, < 5)
|
||||||
@ -75,43 +118,44 @@ GEM
|
|||||||
dotenv (= 2.0.2)
|
dotenv (= 2.0.2)
|
||||||
railties (~> 4.0)
|
railties (~> 4.0)
|
||||||
erubis (2.7.0)
|
erubis (2.7.0)
|
||||||
execjs (2.5.2)
|
execjs (2.6.0)
|
||||||
factory_girl (4.5.0)
|
factory_girl (4.5.0)
|
||||||
activesupport (>= 3.0.0)
|
activesupport (>= 3.0.0)
|
||||||
factory_girl_rails (4.5.0)
|
factory_girl_rails (4.5.0)
|
||||||
factory_girl (~> 4.5.0)
|
factory_girl (~> 4.5.0)
|
||||||
railties (>= 3.0.0)
|
railties (>= 3.0.0)
|
||||||
faker (1.4.3)
|
faker (1.5.0)
|
||||||
i18n (~> 0.5)
|
i18n (~> 0.5)
|
||||||
faraday (0.9.1)
|
faraday (0.9.1)
|
||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
ffi (1.9.8)
|
ffi (1.9.10)
|
||||||
|
globalid (0.3.6)
|
||||||
|
activesupport (>= 4.1.0)
|
||||||
growl (1.0.3)
|
growl (1.0.3)
|
||||||
haml (4.0.6)
|
haml (4.0.7)
|
||||||
tilt
|
tilt
|
||||||
hike (1.2.3)
|
hike (1.2.3)
|
||||||
hitimes (1.2.2)
|
hitimes (1.2.3)
|
||||||
i18n (0.7.0)
|
i18n (0.7.0)
|
||||||
jbuilder (1.0.2)
|
jbuilder (1.0.2)
|
||||||
activesupport (>= 3.0.0)
|
activesupport (>= 3.0.0)
|
||||||
jquery-rails (3.0.4)
|
jquery-rails (3.0.4)
|
||||||
railties (>= 3.0, < 5.0)
|
railties (>= 3.0, < 5.0)
|
||||||
thor (>= 0.14, < 2.0)
|
thor (>= 0.14, < 2.0)
|
||||||
jquery-turbolinks (2.1.0)
|
json (1.8.3)
|
||||||
railties (>= 3.1.0)
|
|
||||||
turbolinks
|
|
||||||
json (1.8.2)
|
|
||||||
jwt (1.5.1)
|
jwt (1.5.1)
|
||||||
mail (2.5.4)
|
loofah (2.0.3)
|
||||||
mime-types (~> 1.16)
|
nokogiri (>= 1.5.9)
|
||||||
treetop (~> 1.4.8)
|
mail (2.6.3)
|
||||||
|
mime-types (>= 1.16, < 3)
|
||||||
method_source (0.8.2)
|
method_source (0.8.2)
|
||||||
mime-types (1.25.1)
|
mime-types (2.6.2)
|
||||||
mini_portile (0.6.2)
|
mini_portile (0.6.2)
|
||||||
minitest (4.7.5)
|
minitest (5.8.0)
|
||||||
multi_json (1.11.0)
|
multi_json (1.11.2)
|
||||||
multi_xml (0.5.5)
|
multi_xml (0.5.5)
|
||||||
multipart-post (2.0.0)
|
multipart-post (2.0.0)
|
||||||
|
nenv (0.2.0)
|
||||||
nokogiri (1.6.6.2)
|
nokogiri (1.6.6.2)
|
||||||
mini_portile (~> 0.6.0)
|
mini_portile (~> 0.6.0)
|
||||||
oauth2 (1.0.0)
|
oauth2 (1.0.0)
|
||||||
@ -122,44 +166,54 @@ GEM
|
|||||||
rack (~> 1.2)
|
rack (~> 1.2)
|
||||||
orm_adapter (0.5.0)
|
orm_adapter (0.5.0)
|
||||||
pg (0.15.1)
|
pg (0.15.1)
|
||||||
polyglot (0.3.5)
|
|
||||||
pry (0.10.1)
|
pry (0.10.1)
|
||||||
coderay (~> 1.1.0)
|
coderay (~> 1.1.0)
|
||||||
method_source (~> 0.8.1)
|
method_source (~> 0.8.1)
|
||||||
slop (~> 3.4)
|
slop (~> 3.4)
|
||||||
pry-rails (0.3.4)
|
pry-rails (0.3.4)
|
||||||
pry (>= 0.9.10)
|
pry (>= 0.9.10)
|
||||||
rack (1.5.2)
|
rack (1.6.4)
|
||||||
rack-protection (1.5.3)
|
rack-protection (1.5.3)
|
||||||
rack
|
rack
|
||||||
rack-test (0.6.3)
|
rack-test (0.6.3)
|
||||||
rack (>= 1.0)
|
rack (>= 1.0)
|
||||||
rails (4.0.1)
|
rails (4.2.0)
|
||||||
actionmailer (= 4.0.1)
|
actionmailer (= 4.2.0)
|
||||||
actionpack (= 4.0.1)
|
actionpack (= 4.2.0)
|
||||||
activerecord (= 4.0.1)
|
actionview (= 4.2.0)
|
||||||
activesupport (= 4.0.1)
|
activejob (= 4.2.0)
|
||||||
|
activemodel (= 4.2.0)
|
||||||
|
activerecord (= 4.2.0)
|
||||||
|
activesupport (= 4.2.0)
|
||||||
bundler (>= 1.3.0, < 2.0)
|
bundler (>= 1.3.0, < 2.0)
|
||||||
railties (= 4.0.1)
|
railties (= 4.2.0)
|
||||||
sprockets-rails (~> 2.0.0)
|
sprockets-rails
|
||||||
|
rails-deprecated_sanitizer (1.0.3)
|
||||||
|
activesupport (>= 4.2.0.alpha)
|
||||||
|
rails-dom-testing (1.0.7)
|
||||||
|
activesupport (>= 4.2.0.beta, < 5.0)
|
||||||
|
nokogiri (~> 1.6.0)
|
||||||
|
rails-deprecated_sanitizer (>= 1.0.1)
|
||||||
|
rails-html-sanitizer (1.0.2)
|
||||||
|
loofah (~> 2.0)
|
||||||
rails_12factor (0.0.2)
|
rails_12factor (0.0.2)
|
||||||
rails_serve_static_assets
|
rails_serve_static_assets
|
||||||
rails_stdout_logging
|
rails_stdout_logging
|
||||||
rails_serve_static_assets (0.0.4)
|
rails_serve_static_assets (0.0.4)
|
||||||
rails_stdout_logging (0.0.3)
|
rails_stdout_logging (0.0.4)
|
||||||
railties (4.0.1)
|
railties (4.2.0)
|
||||||
actionpack (= 4.0.1)
|
actionpack (= 4.2.0)
|
||||||
activesupport (= 4.0.1)
|
activesupport (= 4.2.0)
|
||||||
rake (>= 0.8.7)
|
rake (>= 0.8.7)
|
||||||
thor (>= 0.18.1, < 2.0)
|
thor (>= 0.18.1, < 2.0)
|
||||||
rake (10.4.2)
|
rake (10.4.2)
|
||||||
rdoc (3.12.2)
|
rdoc (3.12.2)
|
||||||
json (~> 1.4)
|
json (~> 1.4)
|
||||||
redis (3.2.1)
|
redis (3.2.1)
|
||||||
redis-namespace (1.5.1)
|
redis-namespace (1.5.2)
|
||||||
redis (~> 3.0, >= 3.0.4)
|
redis (~> 3.0, >= 3.0.4)
|
||||||
responders (1.1.2)
|
responders (2.1.0)
|
||||||
railties (>= 3.2, < 4.2)
|
railties (>= 4.2.0, < 5)
|
||||||
rspec (3.2.0)
|
rspec (3.2.0)
|
||||||
rspec-core (~> 3.2.0)
|
rspec-core (~> 3.2.0)
|
||||||
rspec-expectations (~> 3.2.0)
|
rspec-expectations (~> 3.2.0)
|
||||||
@ -169,10 +223,11 @@ GEM
|
|||||||
rspec-expectations (3.2.1)
|
rspec-expectations (3.2.1)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.2.0)
|
rspec-support (~> 3.2.0)
|
||||||
|
rspec-logsplit (0.1.3)
|
||||||
rspec-mocks (3.2.1)
|
rspec-mocks (3.2.1)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.2.0)
|
rspec-support (~> 3.2.0)
|
||||||
rspec-rails (3.2.1)
|
rspec-rails (3.2.3)
|
||||||
actionpack (>= 3.0, < 4.3)
|
actionpack (>= 3.0, < 4.3)
|
||||||
activesupport (>= 3.0, < 4.3)
|
activesupport (>= 3.0, < 4.3)
|
||||||
railties (>= 3.0, < 4.3)
|
railties (>= 3.0, < 4.3)
|
||||||
@ -197,37 +252,33 @@ GEM
|
|||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
rubyzip (< 1.0.0)
|
rubyzip (< 1.0.0)
|
||||||
websocket (~> 1.0.4)
|
websocket (~> 1.0.4)
|
||||||
sidekiq (3.3.3)
|
sidekiq (3.5.0)
|
||||||
celluloid (>= 0.16.0)
|
celluloid (~> 0.17.0)
|
||||||
connection_pool (>= 2.1.1)
|
connection_pool (~> 2.2, >= 2.2.0)
|
||||||
json
|
json (~> 1.0)
|
||||||
redis (>= 3.0.6)
|
redis (~> 3.2, >= 3.2.1)
|
||||||
redis-namespace (>= 1.3.1)
|
redis-namespace (~> 1.5, >= 1.5.2)
|
||||||
sinatra (1.4.5)
|
sinatra (1.4.6)
|
||||||
rack (~> 1.4)
|
rack (~> 1.4)
|
||||||
rack-protection (~> 1.4)
|
rack-protection (~> 1.4)
|
||||||
tilt (~> 1.3, >= 1.3.4)
|
tilt (>= 1.3, < 3)
|
||||||
slop (3.6.0)
|
slop (3.6.0)
|
||||||
sprockets (2.12.3)
|
sprockets (2.12.4)
|
||||||
hike (~> 1.2)
|
hike (~> 1.2)
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
rack (~> 1.0)
|
rack (~> 1.0)
|
||||||
tilt (~> 1.1, != 1.3.0)
|
tilt (~> 1.1, != 1.3.0)
|
||||||
sprockets-rails (2.0.1)
|
sprockets-rails (2.3.3)
|
||||||
actionpack (>= 3.0)
|
actionpack (>= 3.0)
|
||||||
activesupport (>= 3.0)
|
activesupport (>= 3.0)
|
||||||
sprockets (~> 2.8)
|
sprockets (>= 2.8, < 4.0)
|
||||||
thor (0.19.1)
|
thor (0.19.1)
|
||||||
thread_safe (0.3.5)
|
thread_safe (0.3.5)
|
||||||
tilt (1.4.1)
|
tilt (1.4.1)
|
||||||
timers (4.0.1)
|
timers (4.1.1)
|
||||||
hitimes
|
hitimes
|
||||||
treetop (1.4.15)
|
tzinfo (1.2.2)
|
||||||
polyglot
|
thread_safe (~> 0.1)
|
||||||
polyglot (>= 0.3.1)
|
|
||||||
turbolinks (1.1.1)
|
|
||||||
coffee-rails
|
|
||||||
tzinfo (0.3.43)
|
|
||||||
uglifier (2.1.1)
|
uglifier (2.1.1)
|
||||||
execjs (>= 0.3.0)
|
execjs (>= 0.3.0)
|
||||||
multi_json (~> 1.0, >= 1.0.2)
|
multi_json (~> 1.0, >= 1.0.2)
|
||||||
@ -261,12 +312,11 @@ DEPENDENCIES
|
|||||||
haml
|
haml
|
||||||
jbuilder (= 1.0.2)
|
jbuilder (= 1.0.2)
|
||||||
jquery-rails (= 3.0.4)
|
jquery-rails (= 3.0.4)
|
||||||
jquery-turbolinks
|
|
||||||
oauth2 (= 1.0.0)
|
oauth2 (= 1.0.0)
|
||||||
pg (= 0.15.1)
|
pg (= 0.15.1)
|
||||||
pry
|
pry
|
||||||
pry-rails
|
pry-rails
|
||||||
rails (= 4.0.1)
|
rails (= 4.2)
|
||||||
rails_12factor (= 0.0.2)
|
rails_12factor (= 0.0.2)
|
||||||
rspec (~> 3.2.0)
|
rspec (~> 3.2.0)
|
||||||
rspec-mocks (~> 3.2.0)
|
rspec-mocks (~> 3.2.0)
|
||||||
@ -276,7 +326,6 @@ DEPENDENCIES
|
|||||||
selenium-webdriver (= 2.35.1)
|
selenium-webdriver (= 2.35.1)
|
||||||
sidekiq
|
sidekiq
|
||||||
sinatra
|
sinatra
|
||||||
turbolinks (= 1.1.1)
|
|
||||||
uglifier (= 2.1.1)
|
uglifier (= 2.1.1)
|
||||||
webmock (= 1.21.0)
|
webmock (= 1.21.0)
|
||||||
will_paginate (~> 3.0.6)
|
will_paginate (~> 3.0.6)
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
//
|
//
|
||||||
//= require jquery
|
//= require jquery
|
||||||
//= require jquery_ujs
|
//= require jquery_ujs
|
||||||
//= require turbolinks
|
|
||||||
//= require_tree .
|
//= require_tree .
|
||||||
//= require bootstrap
|
//= require bootstrap
|
||||||
//= require bootstrap-datepicker
|
//= require bootstrap-datepicker
|
||||||
|
@ -5,7 +5,6 @@ class BikeIndexLogger
|
|||||||
|
|
||||||
conn = Faraday.new(:url => "#{ENV['BIKE_INDEX_URL']}") do |faraday|
|
conn = Faraday.new(:url => "#{ENV['BIKE_INDEX_URL']}") do |faraday|
|
||||||
faraday.request :url_encoded
|
faraday.request :url_encoded
|
||||||
faraday.response :logger
|
|
||||||
faraday.adapter Faraday.default_adapter
|
faraday.adapter Faraday.default_adapter
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Bikedb::Application.configure do
|
|||||||
config.eager_load = false
|
config.eager_load = false
|
||||||
|
|
||||||
# Configure static asset server for tests with Cache-Control for performance.
|
# Configure static asset server for tests with Cache-Control for performance.
|
||||||
config.serve_static_assets = true
|
config.serve_static_files = true
|
||||||
config.static_cache_control = "public, max-age=3600"
|
config.static_cache_control = "public, max-age=3600"
|
||||||
|
|
||||||
# Show full error reports and disable caching.
|
# Show full error reports and disable caching.
|
||||||
|
@ -11,7 +11,9 @@ describe BikesController do
|
|||||||
|
|
||||||
describe "POST #create" do
|
describe "POST #create" do
|
||||||
it "creates a new bike with valid credentials" 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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user