bdd-rails 0.1.0 → 0.1.1

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: ac91d42eb40d7e346f7a5ab92745653982df45a2
4
- data.tar.gz: 75540dc145ed1dff44a21ec354fd0d1e903e783c
3
+ metadata.gz: af3a670e70d668a98e0dd4f08a7f0861aa766d45
4
+ data.tar.gz: 9effde30227c1ff06ddf8d75117c8aaf29c6144c
5
5
  SHA512:
6
- metadata.gz: e23e0d6a8bdbecc959a056e669a15d866c82078bf67fc9898c102937cb6e7fd167d993d539ff411eb4ba94de88bfe2c75004ef93e52ebf5093115653742a7a60
7
- data.tar.gz: 1a0ef65daf65e5dee45ab14af8dd0e671e24a3b1ab08ef8782bac08bf4a5e16f0753f52d178e47b0c766313aa3ff71cf6fbe61f4b49a9489319a5eb9a7b2d227
6
+ metadata.gz: c04cec02fa78e9b8f3513f47bc1380a15ccbc0717b9c74d8814d5935279a1f868d8cec0f7b79f0872e24a38112ecd84d5d8bed1957b3486542c18aa3f18f875b
7
+ data.tar.gz: 485c94ae46e1cc0c0fc4a65bc7e6c7b0b2b808a820d8a1e11b5a5d35da0a5872b03ebcef68f6e0770d02e127adf88f86ea315f99cee48562377c0577e0e9426e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bdd-rails (0.1.0)
4
+ bdd-rails (0.1.1)
5
5
  bundler
6
6
  rails
7
7
 
@@ -90,7 +90,7 @@ GEM
90
90
  rake (>= 0.8.7)
91
91
  thor (>= 0.18.1, < 2.0)
92
92
  rake (11.1.2)
93
- sprockets (3.5.2)
93
+ sprockets (3.6.0)
94
94
  concurrent-ruby (~> 1.0)
95
95
  rack (> 1, < 3)
96
96
  sprockets-rails (3.0.4)
data/README.md CHANGED
@@ -21,9 +21,14 @@ is where you should start!
21
21
 
22
22
  ## Codifying Behaviour
23
23
 
24
- Coming soon...
24
+ Coming soon... for now read the following articles to find out about the style
25
+ of tests we're writing:
25
26
 
26
- ## Creating a new rails app
27
+ - http://lukemorton.co.uk/thoughts/2016-01-09-feature-testing-in-2016
28
+ - https://about.futurelearn.com/blog/how-we-write-readable-feature-tests-with-rspec/
29
+ - https://www.madetech.com/blog/feature-testing-with-rspec
30
+
31
+ ### Creating a new rails app
27
32
 
28
33
  Firstly, make sure you have rails installed!
29
34
 
@@ -18,6 +18,7 @@ module BddRails
18
18
  gem 'ffaker'
19
19
  gem 'rspec-its'
20
20
  gem 'rspec-rails'
21
+ gem 'vcr'
21
22
  end
22
23
 
23
24
  bundle_command :install
@@ -0,0 +1,8 @@
1
+ require 'vcr'
2
+
3
+ VCR.configure do |c|
4
+ c.hook_into :webmock, :excon
5
+ c.cassette_library_dir = 'spec/fixtures/cassettes'
6
+ c.default_cassette_options = { record: :new_episodes }
7
+ c.ignore_localhost = true
8
+ end
@@ -1,3 +1,3 @@
1
1
  module BddRails
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/test.sh CHANGED
@@ -6,5 +6,4 @@ bundle
6
6
  spring stop
7
7
  bundle exec rails g bdd_rails:install
8
8
  cd ..
9
- rm -rf $1
10
9
  cd ..
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bdd-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Morton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-05 00:00:00.000000000 Z
11
+ date: 2016-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -82,6 +82,7 @@ files:
82
82
  - lib/bdd_rails/templates/spec/support/rspec_mocks.rb
83
83
  - lib/bdd_rails/templates/spec/support/rspec_output.rb
84
84
  - lib/bdd_rails/templates/spec/support/rspec_run_conditions.rb
85
+ - lib/bdd_rails/templates/spec/support/vcr.rb
85
86
  - lib/bdd_rails/version.rb
86
87
  - test.sh
87
88
  homepage: https://github.com/madetech/bdd-rails