tinynumbers / rspec_pr_1289

This is a minimal Ruby on Rails application illustrating the bug fixed by rspec-rails PR#1289

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

== README

This is a minimal Ruby on Rails application that illustrates the rspec-rails bug fixed by PR #1289.

  • Ruby 2.1.0
  • Rails 4.2.0
  • RSpec Core 3.1.7
  • RSpec Rails 3.1.0

The specific issue at hand involves:

Typically view specs use the path to the view to discern the appropriate name of a helper to be auto-loaded, e.g. a view spec RSpec.describe "posts/edit", :type => :view would auto-load PostsHelper.

Since the example group for in /spec/views/test_view.erb_spec.rb has a description with no path element, the ViewExampleGroup attempts to auto-load related helpers was trying to find (and load) a helper named Helper.

About

This is a minimal Ruby on Rails application illustrating the bug fixed by rspec-rails PR#1289


Languages

Language:Ruby 93.3%Language:CSS 4.6%Language:JavaScript 1.6%Language:CoffeeScript 0.5%