Permalink
Browse files

Release 0.1.8

  • Loading branch information...
1 parent 4457417 commit 3a91e2d25f50def8d12b6ae7f923d21638b5b536 @aslakhellesoy aslakhellesoy committed Apr 28, 2010
Showing with 10 additions and 9 deletions.
  1. +2 −1 History.txt
  2. +2 −2 Rakefile
  3. +1 −1 features/output.feature
  4. +4 −4 features/running_ruby.feature
  5. +1 −1 lib/aruba/cucumber.rb
View
@@ -1,4 +1,5 @@
-== In Git
+== 0.1.8
+* Use // instead of "" for "I should see matching" step. (Aslak Hellesøy)
* Replace rvm gemset character '%' with '@' for rvm 0.1.24 (#5 Ashley Moran)
* Support gem bundler, making it easier to specify gems. (Aslak Hellesøy)
View
@@ -5,15 +5,15 @@ require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
- gem.version = "0.1.7"
+ gem.version = "0.1.8"
gem.name = "aruba"
gem.summary = %Q{CLI Steps for Cucumber}
gem.description = %Q{CLI Steps for Cucumber, hand-crafted for you in Aruba}
gem.email = "cukes@googlegroups.com"
gem.homepage = "http://github.com/aslakhellesoy/aruba"
gem.authors = ["Aslak Hellesøy", "David Chelimsky"]
gem.add_development_dependency "rspec", ">= 1.3.0"
- gem.add_development_dependency "cucumber", ">= 0.6.2"
+ gem.add_development_dependency "cucumber", ">= 0.7.0.beta.6"
end
Jeweler::GemcutterTasks.new
rescue LoadError
View
@@ -47,7 +47,7 @@ Feature: Output
Scenario: Detect subset of one-line output with regex
When I run "ruby --version"
Then I should see "ruby"
- And I should see matching "ruby ([\d]+\.[\d]+\.[\d]+)(p\d+)? \(.*$"
+ And I should see matching /ruby ([\d]+\.[\d]+\.[\d]+)(p\d+)? \(.*$/
@announce
Scenario: Detect subset of multiline output with regex
@@ -23,10 +23,10 @@ Feature: Running ruby
gem 'diff-lcs', '1.1.2'
"""
When I run "gem list"
- Then I should see:
+ Then I should see matching:
"""
- bundler (0.9.16)
- diff-lcs (1.1.2)
+ bundler \(\d+\.+\d+\.+\d+\)
+ diff-lcs \(\d+\.+\d+\.+\d+\)
"""
Scenario: Specify both rvm and gemset
@@ -43,7 +43,7 @@ Feature: Running ruby
Scenario: Find the version of cucumber on ruby 1.9.1
Given I am using rvm "1.9.1"
When I run "cucumber --version"
- Then I should see "0.6.3"
+ Then I should see matching /\d+\.+\d+\.+\d+/
Scenario: Use current ruby
When I run "ruby --version"
View
@@ -93,7 +93,7 @@
# you don't need regex, use "I should see" instead since
# that way, you don't have to escape regex characters that
# appear naturally in the output
-Then /^I should see matching "([^\"]*)"$/ do |partial_output|
+Then /^I should see matching \/([^\/]*)\/$/ do |partial_output|
combined_output.should =~ /#{partial_output}/
end

0 comments on commit 3a91e2d

Please sign in to comment.