Skip to content

Commit

Permalink
Remove capybara as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Feb 8, 2019
1 parent 44dd345 commit 1e14977
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .rubocop_todo.yml
@@ -1,12 +1,12 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-01-10 14:06:50 -0600 using RuboCop version 0.57.2.
# on 2019-02-08 14:54:24 -0600 using RuboCop version 0.57.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 6
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
Expand Down Expand Up @@ -156,7 +156,7 @@ RSpec/ContextWording:
# Offense count: 1
RSpec/DescribeClass:
Exclude:
- 'spec/features/about_spec.rb'
- 'spec/requests/about_spec.rb'

# Offense count: 32
# Configuration parameters: SkipBlocks, EnforcedStyle.
Expand Down
1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -46,7 +46,6 @@ group :test, :development do
gem 'rack-console'
gem 'rubocop', '~> 0.57.1'
gem 'rubocop-rspec', '~> 1.27.0'
gem 'capybara'
gem 'webmock'
end

Expand Down
12 changes: 0 additions & 12 deletions Gemfile.lock
Expand Up @@ -85,14 +85,6 @@ GEM
capistrano-passenger (0.2.0)
capistrano (~> 3.0)
capistrano-shared_configs (0.2.2)
capybara (3.12.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.2)
xpath (~> 3.2)
concurrent-ruby (1.1.4)
config (1.7.0)
activesupport (>= 3.0)
Expand Down Expand Up @@ -337,7 +329,6 @@ GEM
rdf (~> 1.1, >= 1.1.10)
rdf-xsd (1.99.0)
rdf (~> 1.99)
regexp_parser (1.3.0)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
Expand Down Expand Up @@ -449,8 +440,6 @@ GEM
lyber-core
sequel
xml-simple (1.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)

PLATFORMS
ruby
Expand All @@ -461,7 +450,6 @@ DEPENDENCIES
capistrano-bundler
capistrano-passenger
capistrano-shared_configs
capybara
config
coveralls (~> 0.8)
dlss-capistrano
Expand Down
4 changes: 2 additions & 2 deletions spec/features/about_spec.rb → spec/requests/about_spec.rb
Expand Up @@ -2,7 +2,7 @@

RSpec.describe '/v1/about' do
it 'handles simple ping requests to /about' do
visit '/v1/about'
expect(page).to have_content(/Version: \d\..*$/)
get '/v1/about'
expect(response.body).to match(/Version: \d\..*$/)
end
end

0 comments on commit 1e14977

Please sign in to comment.