Skip to content

Commit

Permalink
Update tests to work with QA 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jul 7, 2016
1 parent de1e61e commit 68ce239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/services/rights_service_spec.rb
Expand Up @@ -4,7 +4,7 @@
before do
# Configure QA to use fixtures
qa_fixtures = { local_path: File.expand_path('../../fixtures/authorities', __FILE__) }
stub_const("Qa::Authorities::LocalSubauthority::AUTHORITIES_CONFIG", qa_fixtures)
allow(Qa::Authorities::Local).to receive(:config).and_return(qa_fixtures)
end

describe "#select_active_options" do
Expand Down
2 changes: 1 addition & 1 deletion spec/views/curation_concerns/base/_form_rights_spec.rb
Expand Up @@ -13,7 +13,7 @@

before do
qa_fixtures = { local_path: File.expand_path('../../../../fixtures/authorities', __FILE__) }
stub_const("Qa::Authorities::LocalSubauthority::AUTHORITIES_CONFIG", qa_fixtures)
allow(Qa::Authorities::Local).to receive(:config).and_return(qa_fixtures)
end

context "when active and inactive rights are associated with a work" do
Expand Down

0 comments on commit 68ce239

Please sign in to comment.