Skip to content

Commit

Permalink
chill out the spacing a bit in env.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
leviwilson committed Jul 23, 2013
1 parent 3d6a7d5 commit 0d2dfef
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/testgen/generators/project/env.rb.tt
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
<% if with_lib == 'true' -%>
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../', 'lib'))
<% end -%>

<% end -%>
require 'rspec-expectations'
<% unless pageobject_driver.downcase == 'none' -%>
require 'page-object'
<% end -%>

<% if with_gametel == 'true' -%>
require 'gametel'
<% end -%>

<% if with_mohawk == 'true' -%>
require 'mohawk'
<% end -%>

<% if with_lib == 'true' -%>
require 'require_all'

Expand Down Expand Up @@ -42,11 +39,9 @@ After do
Gametel.stop
end
<% end -%>

<% unless pageobject_driver.downcase == 'none' -%>
World(PageObject::PageFactory)
<% end -%>

<% if with_mohawk == 'true' -%>
World(Mohawk::Navigation)

Expand Down

0 comments on commit 0d2dfef

Please sign in to comment.