Skip to content
This repository
tag: v0.8.6
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 23 lines (22 sloc) 0.745 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
# Make sure tab indentation is preserved in this feature!
Feature: https://rspec.lighthouseapp.com/projects/16211/tickets/585
Scenario: Tab indentation should work
Given a standard Cucumber project directory structure
And a file named "features/f.feature" with:
"""
Feature: developer creates a skeleton Ruby application
Scenario: create a new application
Given a tab indented pystring:
\"\"\"
I'm tab
and space indented
\"\"\"
And a file named "features/step_definitions/steps.rb" with:
\"\"\"
Given /a tab indented pystring:/ do |s| s.should == "I'm tab\n and space indented"
end
\"\"\"
"""
When I run cucumber features/f.feature
Then STDERR should be empty
And it should pass
Something went wrong with that request. Please try again.