Skip to content
Browse files

Use existing step

  • Loading branch information...
1 parent 7bc1329 commit 29271722c83aa700987246ea77f933156190304d @joshuaclayton committed Aug 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 features/step_definitions/sieve_steps.rb
View
2 features/step_definitions/sieve_steps.rb
@@ -23,7 +23,7 @@
end
When /^I run a sieve on the last number$/ do
- @result = @primes.last.sieve
+ When %{I run a sieve on #{@primes.last}}
end
Then /^I should have all primes from "([^"]*)"$/ do |path|

0 comments on commit 2927172

Please sign in to comment.
Something went wrong with that request. Please try again.