openstax_accounts 6.3.1 → 6.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,9 +31,8 @@ module OpenStax
31
31
 
32
32
  it 'passes names to the API when creating users' do
33
33
  find_or_create_account_response = double('Response')
34
- allow(find_or_create_account_response).to receive(:status).and_return(200)
34
+ allow(find_or_create_account_response).to receive(:status).and_return(201)
35
35
  allow(find_or_create_account_response).to receive(:body).and_return('{"id":1}')
36
-
37
36
  expect(OpenStax::Accounts::Api).to receive(:find_or_create_account).with(
38
37
  email: 'bob@example.com', username: nil, password: nil,
39
38
  first_name: 'Bob', last_name: 'Smith', full_name: 'Bob Smith'
data/spec/vcr_helper.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'vcr'
2
+ require 'webmock/rspec'
2
3
 
3
4
  VCR.configure do |c|
4
5
  c.cassette_library_dir = 'spec/cassettes'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstax_accounts
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.1
4
+ version: 6.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-19 00:00:00.000000000 Z
11
+ date: 2016-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -282,14 +282,14 @@ dependencies:
282
282
  requirements:
283
283
  - - ">="
284
284
  - !ruby/object:Gem::Version
285
- version: '0'
285
+ version: 2.0.1
286
286
  type: :development
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - ">="
291
291
  - !ruby/object:Gem::Version
292
- version: '0'
292
+ version: 2.0.1
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: vcr
295
295
  requirement: !ruby/object:Gem::Requirement