spec/macros4cuke/templating/engine_spec.rb in macros4cuke-0.4.05 vs spec/macros4cuke/templating/engine_spec.rb in macros4cuke-0.4.06
- old
+ new
@@ -12,11 +12,11 @@
describe Engine do
# Sample template (consisting of a sequence of steps)
let(:sample_template) do
- source = <<-SNIPPET
+ source = <<-SNIPPET
Given I landed in the homepage
And I fill in "Username" with "<userid>"
And I fill in "Password" with "<password>"
And I click "Sign in"
SNIPPET
@@ -24,10 +24,10 @@
source
end
# Template containing two conditional sections
let(:sophisticated_template) do
- source = <<-SNIPPET
+ source = <<-SNIPPET
When I fill in "firstname" with "<firstname>"
And I fill in "lastname" with "<lastname>"
# Next line defines a comment
<?address> And I fill in "address" with "<address>"</address>
<?birthdate>