Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

specs pass, removed unused spec/support config

  • Loading branch information...
commit b8cbf1d1dabe54f6ac90b20ec2093819e771b11a 1 parent 1412015
@ultrasaurus ultrasaurus authored
View
8 app/views/stories/index.html.erb
@@ -1,4 +1,8 @@
<%= link_to "New Story", new_story_path %>
-<%=@stories%>
-
+<ul>
+<% @stories.each do |story| %>
+ <li><%= story.title %> </li>
+<% end %>
+</ul>
+
View
30 spec/support/integration/integration_example_group.rb
@@ -5,28 +5,16 @@
module RSpec::Rails
module IntegrationExampleGroup
include ActionDispatch::Integration::Runner
- # include RSpec::Rails::TestUnitAssertionAdapter
- # include ActionDispatch::Assertions
include Capybara
- #include RSpec::Matchers
- #
- def app
- ::Rails.application
- end
- #
- # def last_response
- # page
- # end
- # end
- #
- # included do
- # before do
- # @router = ::Rails.application.routes
- # end
- #
- RSpec.configure do |c|
- c.include self, :example_group => { :file_path => /\bspec\/integration\// }
- end
+
+ def app
+ ::Rails.application
+ end
+
+ RSpec.configure do |c|
+ c.include self, :example_group => { :file_path => /\bspec\/integration\// }
+ end
+
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.