Skip to content

Commit

Permalink
Bump hyrax-spec to 0.3.2
Browse files Browse the repository at this point in the history
This fixes a bug in the `have_form_field` matcher, allowing us to correctly
specify the license behavior in the form metadata tests.
  • Loading branch information
Tom Johnson committed Jan 31, 2018
1 parent b755be7 commit 5c9b2e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ group :development, :test do
gem 'database_cleaner'
gem 'fcrepo_wrapper'
gem 'ffaker'
gem 'hyrax-spec', '~> 0.3.0'
gem 'hyrax-spec', "~> 0.3.2"
gem 'rspec-rails'
gem 'webmock', '~> 3.1', '>= 3.1.1'
end
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ GEM
select2-rails (~> 3.5)
signet
tinymce-rails (~> 4.1)
hyrax-spec (0.3.0)
hyrax-spec (0.3.2)
rspec (~> 3.6)
i18n (0.9.3)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -876,7 +876,7 @@ DEPENDENCIES
honeybadger (~> 3.1)
hydra-role-management (~> 1.0)
hyrax (~> 2.0.0)
hyrax-spec (~> 0.3.0)
hyrax-spec (~> 0.3.2)
jbuilder (~> 2.5)
jquery-rails (~> 4.3)
listen (~> 3.0.5)
Expand Down
1 change: 0 additions & 1 deletion spec/views/hyrax/base/_form_metadata.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@

it 'has licenses' do
expect(page).to have_form_field(:license)
.as_single_valued
.on_model(work.class)
.with_label('License')
.and_options(*license_uris)
Expand Down

0 comments on commit 5c9b2e4

Please sign in to comment.