selleo-controller_tests 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
Y2I3ZWRkYWY1NTlkMTcyODE0Y2RlN2VlNWE0NzQ0MmE5ZGM5MzBlMA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4146ca71579cef213b90e21e906d881dbb9901ea
|
4
|
+
data.tar.gz: 5846d721b7f4ff849c7405d8ec81798048e80ef8
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YWI4MDJhMzJkYjg3Y2QwYjY4MWI0ZDJhM2JkOGE3ZTk5YzdiMmYzZDIyMjlm
|
11
|
-
YjBhY2ExNGNhZDIxNWUxMjQzN2I1MTM1YmVlNTBmNTY3MjZmYzE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZGYxOWIyNGI3NDA0NjdhNTNhZWZjZTJhNDg1Nzg4YzEwYjIwZmM0ZDY1ODBh
|
14
|
-
OGFhOGU1YTc2YTRjNzkyZmI2ZmNmNTFlYjQzNDMyYWNiOWUzMGI1MDQ0N2Q1
|
15
|
-
OGVhNWM4OTMwNWQ0YTU5ODQwYWVjMTYyNDAxNzE1NTM3ZTY4YmM=
|
6
|
+
metadata.gz: ce135a44dbb8bfc79eca32a6380642a084dbf07c80210eaf7891be36aff4de922d310c6c3ca2f224f4218c0d44733fa694c9b4ec5793171de599882487d07cd7
|
7
|
+
data.tar.gz: 3856ca3e319a862f28879994f3276db141b1aefbd99ea5c170c1f85bfd9f8888a463fcc529e73436467729aead95e9fbfeafba8347058b81d1c3cb51b3965fa6
|
data/lib/selleo-controller_tests/support/shared_examples/controllers/action_creating_object.rb
CHANGED
@@ -7,7 +7,7 @@ shared_examples_for 'an action creating object' do |*args|
|
|
7
7
|
let(:new_attributes) { attributes }
|
8
8
|
|
9
9
|
if opts[:expect_failure]
|
10
|
-
it { expect { call_request }.
|
10
|
+
it { expect { call_request }.not_to change { model_class.count } }
|
11
11
|
else
|
12
12
|
it { expect { call_request }.to change { model_class.count }.by(1) }
|
13
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selleo-controller_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stevo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Shared examples for controller tests
|
14
14
|
email:
|
@@ -37,17 +37,17 @@ require_paths:
|
|
37
37
|
- lib
|
38
38
|
required_ruby_version: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
43
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
requirements: []
|
49
|
-
rubyforge_project:
|
50
|
-
rubygems_version: 2.
|
49
|
+
rubyforge_project: "[none]"
|
50
|
+
rubygems_version: 2.2.2
|
51
51
|
signing_key:
|
52
52
|
specification_version: 4
|
53
53
|
summary: Shared examples for controller tests
|