Skip to content

Commit

Permalink
Rename from Jerkin to SimpleBdd
Browse files Browse the repository at this point in the history
  • Loading branch information
robb1e committed Jan 3, 2013
1 parent f4c4f12 commit 6874388
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,4 +1,4 @@
source 'https://rubygems.org'

gem 'rspec'
gem 'jerkin', '>= 0.0.1.1'
gem 'simple_bdd', '>= 0.0.2'
8 changes: 4 additions & 4 deletions 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.

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
@@ -1,4 +1,4 @@
require 'jerkin'
require 'simple_bdd'
require 'journey_helpers'
require 'integration_helpers'

Expand All @@ -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
Expand Down

0 comments on commit 6874388

Please sign in to comment.