neverfails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/HISTORY.md +1 -0
  2. data/fails_steps.rb +2 -2
  3. data/neverfails.gemspec +1 -1
  4. metadata +3 -3
data/HISTORY.md CHANGED
@@ -1,2 +1,3 @@
1
1
  v0.0.1 2011.08.07 Created the neverfails gem
2
2
  v0.0.2 2011.03.01 Added the create-grocery.sh sample script
3
+ v0.0.3 2011.03.01 Fixed bug on '/models/index' URL in the test
data/fails_steps.rb CHANGED
@@ -24,7 +24,7 @@ When /^I browse the list of (.+?)$/ do |models|
24
24
  end
25
25
 
26
26
  Given /^there is a page listing (.+?)$/ do |models|
27
- Given "there is a page with URL /#{models}/index"
27
+ Given "there is a page with URL /#{models}"
28
28
  end
29
29
 
30
30
  Given /^there is a page with URL (.+?)$/ do |url|
@@ -42,7 +42,7 @@ end
42
42
 
43
43
  Then /^I should see the text "([^"]*)"$/ do |text|
44
44
  begin
45
- assert_contain text
45
+ page.should have_content(text)
46
46
  rescue Test::Unit::AssertionFailedError => e
47
47
  raise e.class, "The text \"#{text}\" was not found in the current page"
48
48
  end
data/neverfails.gemspec CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'neverfails'
6
- s.version = '0.0.2'
6
+ s.version = '0.0.3'
7
7
  s.authors = ["Claudio B."]
8
8
  s.email = ["claudiob@gmail.com"]
9
9
  s.homepage = "https://github.com/claudiob/neverfails/tree/rails"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neverfails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Claudio B.