Skip to content

Commit

Permalink
Update RuboCop to version 0.54
Browse files Browse the repository at this point in the history
Close #46 and #48.
  • Loading branch information
AlexWayfer committed Mar 26, 2018
1 parent 2e52519 commit 4fb1e30
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flame.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rack-test', '~> 0'
s.add_development_dependency 'rack-utf8_sanitizer', '~> 1.3'
s.add_development_dependency 'rake', '~> 12'
s.add_development_dependency 'rubocop', '0.51'
s.add_development_dependency 'rubocop', '~> 0.54'
s.add_development_dependency 'simplecov', '~> 0'

s.files = Dir[File.join('{lib,public,template}', '**', '{*,.*}')]
Expand Down
1 change: 0 additions & 1 deletion spec/integration/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require_relative File.join('..', 'spec_helper')

require 'rack/test'
include Rack::Test::Methods

## Exampe of application
class IntegrationApp < Flame::Application
Expand Down
2 changes: 2 additions & 0 deletions spec/integration/crud_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class IntegrationApp
end

describe 'CRUD Controller' do
include Rack::Test::Methods

it 'should return list of items' do
get '/crud'
last_response.should.be.ok
Expand Down
2 changes: 2 additions & 0 deletions spec/integration/custom_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ class IntegrationApp
end

describe CustomController do
include Rack::Test::Methods

it 'should return foo' do
get '/custom/foo'
last_response.should.be.ok
Expand Down
2 changes: 2 additions & 0 deletions spec/integration/index_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class IntegrationApp
end

describe IndexController do
include Rack::Test::Methods

it 'should return index' do
get '/'
last_response.should.be.ok
Expand Down

0 comments on commit 4fb1e30

Please sign in to comment.