lookout-rack-test 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -0
- data/lib/lookout/rack/test/cucumber/general_steps.rb +1 -3
- data/lib/lookout/rack/test/cucumber.rb +1 -1
- data/lib/lookout/rack/test/version.rb +1 -1
- data/lookout-rack-test.gemspec +13 -13
- data/spec/model_examples_spec.rb +4 -4
- data/spec/setup_spec.rb +2 -2
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5966c38c1c55f5245f2973d343f23faf22994761
|
4
|
+
data.tar.gz: 77e1c227f30e6ac8b5b27033cdae1c2dfa9c1618
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36178e2b41cc81aa640ef85ee83975e6b091cd650ca0b2fd53f4110ab3844306cbeb1ec63c378b4cf95ebb2e628c17a68d7ebc8dd07a95c3a4395a82713f0cb7
|
7
|
+
data.tar.gz: fadc37c301f92ee2b0ab8afe18df8660a771e1cfe4547be62c3ec99700d54b3f6f3e4fb076abee655c4d477ca224003d311dabcb1b8dfe6914d591d078416def
|
data/.travis.yml
ADDED
data/lookout-rack-test.gemspec
CHANGED
@@ -4,18 +4,18 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'lookout/rack/test/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name
|
8
|
-
spec.version
|
9
|
-
spec.authors
|
10
|
-
spec.email
|
11
|
-
spec.description
|
12
|
-
spec.summary
|
13
|
-
spec.homepage
|
14
|
-
spec.license
|
7
|
+
spec.name = "lookout-rack-test"
|
8
|
+
spec.version = Lookout::Rack::Test::VERSION
|
9
|
+
spec.authors = ["Ian Smith"]
|
10
|
+
spec.email = ["ian.smith@lookout.com"]
|
11
|
+
spec.description = %q{RSpec and Cucumber helpers}
|
12
|
+
spec.summary = %q{}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
15
|
|
16
|
-
spec.files
|
17
|
-
spec.executables
|
18
|
-
spec.test_files
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.3"
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
# Required for {{token}} substitutions in Cucumber API scenarios
|
26
26
|
spec.add_dependency 'liquid'
|
27
|
-
spec.add_dependency 'rspec'
|
27
|
+
spec.add_dependency 'rspec'
|
28
28
|
spec.add_dependency 'ci_reporter'
|
29
29
|
spec.add_dependency 'ci_reporter_cucumber'
|
30
30
|
spec.add_dependency 'ci_reporter_rspec'
|
@@ -35,4 +35,4 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_dependency 'factory_girl'
|
36
36
|
spec.add_dependency 'cucumber'
|
37
37
|
spec.add_dependency 'parallel_tests'
|
38
|
-
end
|
38
|
+
end
|
data/spec/model_examples_spec.rb
CHANGED
@@ -20,7 +20,7 @@ describe 'A timestamped model' do
|
|
20
20
|
let(:attrs) { [:created_at, :updated_at, :deleted_at] }
|
21
21
|
|
22
22
|
it 'should not behave like a timestamped model' do
|
23
|
-
pending
|
23
|
+
#pending
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
@@ -28,7 +28,7 @@ describe 'A timestamped model' do
|
|
28
28
|
let(:attrs) { [:id, :updated_at, :deleted_at] }
|
29
29
|
|
30
30
|
it 'should not behave like a timestamped model' do
|
31
|
-
pending
|
31
|
+
#pending
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -36,7 +36,7 @@ describe 'A timestamped model' do
|
|
36
36
|
let(:attrs) { [:id, :created_at, :deleted_at] }
|
37
37
|
|
38
38
|
it 'should not behave like a timestamped model' do
|
39
|
-
pending
|
39
|
+
#pending
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
@@ -44,7 +44,7 @@ describe 'A timestamped model' do
|
|
44
44
|
let(:attrs) { [:id, :created_at, :updated_at] }
|
45
45
|
|
46
46
|
it 'should not behave like a timestamped model' do
|
47
|
-
pending
|
47
|
+
#pending
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
data/spec/setup_spec.rb
CHANGED
@@ -22,13 +22,13 @@ end
|
|
22
22
|
describe ':speed => :slow' do
|
23
23
|
context 'a test marked as :speed => :slow', :speed => :slow do
|
24
24
|
it 'should have called .setup on the Models module' do
|
25
|
-
expect(TestModels.was_setup?).to
|
25
|
+
expect(TestModels.was_setup?).to be true
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
29
|
context 'a test not marked as :speed => :slow' do
|
30
30
|
it 'should not have called .setup on the Models module' do
|
31
|
-
expect(TestModels.was_setup?).to
|
31
|
+
expect(TestModels.was_setup?).to be false
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lookout-rack-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: ci_reporter
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,6 +200,7 @@ extensions: []
|
|
200
200
|
extra_rdoc_files: []
|
201
201
|
files:
|
202
202
|
- ".gitignore"
|
203
|
+
- ".travis.yml"
|
203
204
|
- Gemfile
|
204
205
|
- LICENSE.txt
|
205
206
|
- README.md
|