Skip to content

Commit

Permalink
fix specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jun 1, 2019
1 parent d1bae27 commit d776ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/dois_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
let!(:prefix) { create(:prefix, prefix: "10.14454") }
let!(:client_prefix) { create(:client_prefix, client: client, prefix: prefix) }

let(:doi) { create(:doi, client: client, aasm_state: "findable") }
let(:doi) { create(:doi, client: client) }
let(:bearer) { Client.generate_token(role_id: "client_admin", uid: client.symbol, provider_id: provider.symbol.downcase, client_id: client.symbol.downcase, password: client.password) }
let(:headers) { { 'ACCEPT'=>'application/vnd.api+json', 'CONTENT_TYPE'=>'application/vnd.api+json', 'Authorization' => 'Bearer ' + bearer }}

Expand Down

0 comments on commit d776ead

Please sign in to comment.