bdd-rails 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -1
- data/Gemfile.lock +1 -1
- data/README.md +7 -1
- data/lib/bdd-rails.rb +1 -1
- data/lib/bdd_rails/install_generator.rb +1 -0
- data/lib/bdd_rails/templates/spec/support/vcr.rb +1 -1
- data/lib/bdd_rails/version.rb +1 -1
- data/{test.sh → spec/installing_spec.sh} +7 -0
- metadata +2 -3
- data/lib/bdd_rails.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f0697d3a3c6ada781aa0ea675cbd5e64bc37e26
|
4
|
+
data.tar.gz: 9c080524f04884b191b5ca05a415338887c5ac8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1835ba210209d3b1a04827b47b911a52d3bda7b6d1ba9740f2ad3e0fc4bc4b65382461898e3d69412ff59e13d9f65ed822400de1b56d00232031c8ddea5c6713
|
7
|
+
data.tar.gz: 52248a9512f5bb8671c8a1e9134853f0c99ccb672f07d41d0df177a75ff57833be0974e8098c06cb3e3fa1cdf8b1051a0c3dcdf0a96c072dca9d4a8441b79bb8
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -51,12 +51,18 @@ echo "gem 'bdd-rails', path: '../../'" >> Gemfile
|
|
51
51
|
bundle
|
52
52
|
```
|
53
53
|
|
54
|
-
|
54
|
+
We want to install our BDD setup in your rails app:
|
55
55
|
|
56
56
|
```
|
57
57
|
bundle exec rails g bdd_rails:install
|
58
58
|
```
|
59
59
|
|
60
|
+
And setup our DB:
|
61
|
+
|
62
|
+
```
|
63
|
+
bundle exec rake db:migrate
|
64
|
+
```
|
65
|
+
|
60
66
|
Now you can run your (empty) test suite:
|
61
67
|
|
62
68
|
```
|
data/lib/bdd-rails.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require 'bdd_rails'
|
1
|
+
require 'bdd_rails/railtie'
|
data/lib/bdd_rails/version.rb
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# Fairly ironic this isn't a BDD feature test isn't it?
|
2
|
+
#
|
3
|
+
# Life's too short :)
|
4
|
+
#
|
1
5
|
set -e
|
2
6
|
|
3
7
|
rm -rf test_app
|
@@ -5,4 +9,7 @@ bundle exec rails new --skip-test-unit test_app
|
|
5
9
|
cd test_app
|
6
10
|
echo "gem 'bdd-rails', path: '../'" >> Gemfile
|
7
11
|
bundle
|
12
|
+
bundle exec spring stop
|
8
13
|
bundle exec rails g bdd_rails:install
|
14
|
+
bundle exec rake db:migrate
|
15
|
+
bundle exec rspec
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bdd-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Morton
|
@@ -67,7 +67,6 @@ files:
|
|
67
67
|
- Rakefile
|
68
68
|
- bdd-rails.gemspec
|
69
69
|
- lib/bdd-rails.rb
|
70
|
-
- lib/bdd_rails.rb
|
71
70
|
- lib/bdd_rails/install_generator.rb
|
72
71
|
- lib/bdd_rails/railtie.rb
|
73
72
|
- lib/bdd_rails/templates/.rspec
|
@@ -85,7 +84,7 @@ files:
|
|
85
84
|
- lib/bdd_rails/templates/spec/support/rspec_run_conditions.rb
|
86
85
|
- lib/bdd_rails/templates/spec/support/vcr.rb
|
87
86
|
- lib/bdd_rails/version.rb
|
88
|
-
-
|
87
|
+
- spec/installing_spec.sh
|
89
88
|
homepage: https://github.com/madetech/bdd-rails
|
90
89
|
licenses:
|
91
90
|
- MIT
|
data/lib/bdd_rails.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'bdd_rails/railtie'
|