Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename from Jerkin to SimpleBdd

  • Loading branch information...
commit 687438843c42ed97542e6faa1251be44c1d041be 1 parent f4c4f12
@robb1e authored
Showing with 7 additions and 7 deletions.
  1. +1 −1  Gemfile
  2. +4 −4 README.md
  3. +2 −2 spec/spec_helper.rb
View
2  Gemfile
@@ -1,4 +1,4 @@
source 'https://rubygems.org'
gem 'rspec'
-gem 'jerkin', '>= 0.0.1.1'
+gem 'simple_bdd', '>= 0.0.2'
View
8 README.md
@@ -1,6 +1,6 @@
-# Jerkin::Examples
+# SimpleBdd::Examples
-This is an example of how to use the Jerkin library alongside mixing in modules depending on the type of test being run.
+This is an example of how to use the simple_bdd library alongside mixing in modules depending on the type of test being run.
It's test framework agnostic, but here this is using RSpec. The strings sent to the methods 'Given', 'When', 'Then' and 'And' are translated into a method which is called in the current scope.
@@ -24,12 +24,12 @@ In the RSpec config, modules are loaded depending on what tags are on the exampl
Then the configuration loads different helper modules depending on the tags.
- require 'jerkin'
+ require 'simple_bdd'
require 'journey_helpers'
require 'integration_helpers'
RSpec.configure do |config|
- config.include Jerkin
+ config.include SimpleBdd
config.include JourneyHelpers, group: :journey
config.include IntegrationHelpers, group: :integration
end
View
4 spec/spec_helper.rb
@@ -1,4 +1,4 @@
-require 'jerkin'
+require 'simple_bdd'
require 'journey_helpers'
require 'integration_helpers'
@@ -7,7 +7,7 @@
config.run_all_when_everything_filtered = true
config.filter_run :focus
config.order = 'random'
- config.include Jerkin
+ config.include SimpleBdd
config.include JourneyHelpers, group: :journey
config.include IntegrationHelpers, group: :integration
end
Please sign in to comment.
Something went wrong with that request. Please try again.