bddfire 1.2.8 → 1.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmNhMDA0NzAyYWIxMGVkOTE0ZjI3NDUyYzQzZmIzZmIwNjUzZjRjMw==
4
+ ZmY4YTc3OTYzM2Q0NWFlZjY2YTNkYWIwODI0ZDljNGUyMjc5MjA5Zg==
5
5
  data.tar.gz: !binary |-
6
- Mzg0Y2U5MDJhZTA2OTkwNmRlNWQ4MDdkYWYwYzBmMDdlMmY5ZjUyOQ==
6
+ ZGEyMTIzODYyYjAyMzMwZjNmMjdiNjY3NDJmMDA1NjE3OTk0ZmU1Nw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWMxYzNmN2VmZWQxMTEyNDNjZmFkYzZkOWQ3MDBiYTRlOTQ5MGMzN2E3YzE5
10
- MDQ0YmQ3MDM3MDNiYzM4YzRkM2VmYjA1NzgzNjc4MjZjODYwOGM2NWY0ZWI1
11
- OTlhODAyYTU0NThhODUyM2Q1MjFlNjIxYjgxNzhkMzA3NmYyZTI=
9
+ OGExYzliN2RiN2E1NTA2Y2RhMzQyMThjNzQ2ZjRhZDU3MjdlZGUzNmM5NmY1
10
+ NDUwMWI2Mjk1NDJmNmJjMzk0OTdmNTg5MTU0N2VmODM2ZmExMzdlNjk2NzQw
11
+ YWI4YjczOGVjMTY3M2EyMWJkNDM5OTk0YTBjOWMxMTY5ZTRmYjk=
12
12
  data.tar.gz: !binary |-
13
- ZTZiNDMxOWM5YzZmNDM3OWIwZTg2ZDZhYjJjOWIxNDZmZmM1ZDg4OWQxMGRl
14
- MGE2ODA2YTM0NGM4MGU2MTZmOTlkMDE3ZDdiMzI3NWZkMDM5MzQ2Zjc2N2Uw
15
- OTY4MjljZTkxNjQ1YjdiMWU4NDRhOWIyOTU2MjU4ODM3MzA5YTU=
13
+ ZWJmNDA1YThjNGQzZDkzNjU3ZjA2YTRlYTQyYjRkM2IzYTgyOWIyNDAyMzI3
14
+ NTg4ZDQ5N2NhNGY2M2JlOWRhYTY1YWI3MjE3ZTI1Njk5MTY2NDIyYmUxM2Uw
15
+ ZDk3Yjk0ZjllZjQxZGIyNDdjNzNiOTJhY2Y1YWM2NGJiM2U5MTk=
data/lib/bddfire/app.rb CHANGED
@@ -28,6 +28,7 @@ module BDDfire
28
28
  insert_gem 'cuke_sniffer'
29
29
  insert_gem 'json'
30
30
  insert_gem 'rspec'
31
+ insert_gem 'bddfire'
31
32
  insert_gem 'rubocop-checkstyle_formatter'
32
33
  generate_rakefile
33
34
  add_task BDDfire::Tasks.cucumber
@@ -0,0 +1,9 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require "Capybara/cucumber"
4
+ require "rspec"
5
+ require 'capybara/poltergeist'
6
+ require 'selenium-webdriver'
7
+ require 'rubocop'
8
+ require 'rbconfig'
9
+ include RbConfig
@@ -0,0 +1,11 @@
1
+ require_relative 'required_files'
2
+
3
+ Given(/^I am on the "(.*?)"$/) do |url|
4
+ session = Capybara::Session.new(:poltergeist)
5
+ session.visit(url)
6
+ end
7
+
8
+ Then(/^I should see the text "(.*?)"$/) do |text|
9
+ session = Capybara::Session.new(:poltergeist)
10
+ session.page.should have_content(text)
11
+ end
@@ -1,3 +1,3 @@
1
1
  module BDDfire
2
- VERSION = "1.2.8"
2
+ VERSION = "1.2.9"
3
3
  end
data/lib/bddfire.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'bddfire/extensions/string'
2
+ require 'bddfire/ui_steps'
2
3
 
3
4
  module BDDfire
4
5
  autoload :App, "bddfire/app"
@@ -1 +1 @@
1
- ruby-1.9.3
1
+ ruby-1.9.3-p194
@@ -1,3 +1,5 @@
1
+ require 'bddfire'
2
+
1
3
  Given(/^I am on the home page$/) do
2
4
  visit "http://www.google.com"
3
5
  end
@@ -5,6 +5,7 @@ require "rspec"
5
5
  require 'capybara/poltergeist'
6
6
  require 'selenium-webdriver'
7
7
  require 'rubocop'
8
+ require 'bddfire'
8
9
 
9
10
  Capybara.default_driver = :selenium
10
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bddfire
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.8
4
+ version: 1.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shashikant Jagtap
@@ -188,7 +188,9 @@ files:
188
188
  - lib/bddfire.rb
189
189
  - lib/bddfire/app.rb
190
190
  - lib/bddfire/extensions/string.rb
191
+ - lib/bddfire/required_files.rb
191
192
  - lib/bddfire/tasks.rb
193
+ - lib/bddfire/ui_steps.rb
192
194
  - lib/bddfire/version.rb
193
195
  - scaffold/.relish
194
196
  - scaffold/.rubocop.yml