accounts_client 0.2.36 → 0.2.37

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 175b0c4c0f3d578a1dce6785920bec39a24fbdc9
4
- data.tar.gz: be54b09d7df7db787e6d44bfcb9408c249d0dda0
3
+ metadata.gz: cf86f538741a9bccbac93a6a10876e6a55895cdb
4
+ data.tar.gz: 0dd3c3db4e3805dde8ea66e8f7ba3c700b2c26e2
5
5
  SHA512:
6
- metadata.gz: 851d8ab9fc5685b76b5dd2587a4dd5e5a5bf1b6862232cb5283534cd80227e3556a9c36f80245c9e91ef43ae5130cd8a9f382c563b17949af3a8de7dcbcf2939
7
- data.tar.gz: 6ba87ca46513d463765c7841036f7d13c9e866d55ecb5957fe2f5715fe6cc01ad6b835383b243b58443158946670bfe9aa61423524f5b677b83a6379d4207059
6
+ metadata.gz: 28ff0e5faf28bf95f35f63d3b889d6890198f9f9072b60029e717e726da0a16f5f42ad52f2347991d25d667268d36078e7c94f16737795e0f36e5491f71e913d
7
+ data.tar.gz: 6018097963b6422168bf750094f203a78cf2a6abd741cbb37381c7aa54332c9af6dd395f6c6aee290eec742fc248e994c77d6da255e2a3502cad5a3ae002cb26
@@ -1,7 +1,7 @@
1
1
  shared_examples_for "it belongs to an account" do
2
2
  it { should validate_presence_of :account_name }
3
3
  it "should return account on #account" do
4
- PadmaAccount.should_receive(:find).with(object.account_name).and_return(PadmaAccount.new(account_name: object.account_name))
4
+ expect(PadmaAccount).to receive(:find).with(object.account_name).and_return(PadmaAccount.new(account_name: object.account_name))
5
5
  object.account.should be_a(PadmaAccount)
6
6
  end
7
7
  end
@@ -9,8 +9,8 @@ end
9
9
  shared_examples_for "it belongs to a user" do
10
10
  it { should validate_presence_of :username}
11
11
  it "should return user on #user" do
12
- PadmaUser.stub(:find).with(object.username).and_return(PadmaUser.new(username: object.username))
12
+ expect(PadmaUser).to receive(:find).with(object.username).and_return(PadmaUser.new(username: object.username))
13
13
  object.user.should be_a(PadmaUser)
14
14
  end
15
15
  it "should use Rails.cache"
16
- end
16
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: accounts_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.36
4
+ version: 0.2.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-10 00:00:00.000000000 Z
11
+ date: 2018-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties