rspec-rails 2.0.0.beta.10 → 2.0.0.beta.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ README.markdown
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ License.txt
data/.gitignore CHANGED
@@ -2,3 +2,6 @@ tmp
2
2
  pkg
3
3
  .bundle
4
4
  rspec-rails-
5
+ Gemfile.lock
6
+ doc
7
+ vendor
data/Gemfile CHANGED
@@ -1,6 +1,8 @@
1
1
  source "http://rubygems.org"
2
- gem 'rails', :path => "./tmp/rails"
3
- gem 'rspec', '>= 2.0.0.beta'
2
+
3
+ gem 'arel', :path => "./vendor/arel"
4
+ gem 'rails', :path => "./vendor/rails"
5
+ gem 'rspec', '>= 2.0.0.beta.10'
4
6
  gem 'cucumber'
5
7
  gem 'aruba'
6
8
  gem 'jeweler'
data/Rakefile CHANGED
@@ -35,9 +35,10 @@ begin
35
35
  This version of rspec-rails only works with
36
36
  versions of rails >= 3.0.0.pre.
37
37
 
38
- This is beta software. If you are looking
39
- for a supported production release, please
40
- "gem install rspec-rails" (without --pre).
38
+ Be sure to run the following command in each of your
39
+ Rails apps if you're upgrading:
40
+
41
+ script/rails generate rspec
41
42
 
42
43
  #{"*"*50}
43
44
  EOM
@@ -56,17 +57,26 @@ end
56
57
  namespace :rails do
57
58
  desc "clone the rails repo"
58
59
  task :clone do
59
- mkdir 'tmp' unless File.directory?('tmp')
60
- unless File.directory?('tmp/rails')
61
- Dir.chdir('tmp') do
60
+ mkdir 'vendor' unless File.directory?('vendor')
61
+ unless File.directory?('vendor/rails')
62
+ Dir.chdir('vendor') do
62
63
  sh "git clone git://github.com/rails/rails"
63
64
  end
64
65
  end
66
+ unless File.directory?('vendor/arel')
67
+ Dir.chdir('vendor') do
68
+ sh "git clone git://github.com/rails/arel"
69
+ end
70
+ end
65
71
  end
66
72
 
67
73
  desc "update the rails repo"
68
74
  task :update => :clone do
69
- Dir.chdir('tmp/rails') do
75
+ Dir.chdir('vendor/rails') do
76
+ sh "git checkout master"
77
+ sh "git pull"
78
+ end
79
+ Dir.chdir('vendor/arel') do
70
80
  sh "git checkout master"
71
81
  sh "git pull"
72
82
  end
@@ -77,7 +87,8 @@ namespace :generate do
77
87
  desc "generate a fresh app with rspec installed"
78
88
  task :app => ["rails:clone"] do |t|
79
89
  unless File.directory?('./tmp/example_app')
80
- ruby "./tmp/rails/bin/rails tmp/example_app --dev -m example_app_template.rb"
90
+ ruby "./vendor/rails/bin/rails new ./tmp/example_app"
91
+ system "cp ./templates/Gemfile ./tmp/example_app/"
81
92
  end
82
93
  end
83
94
 
@@ -115,6 +126,8 @@ end
115
126
  desc 'clobber generated files'
116
127
  task :clobber do
117
128
  rm_rf "pkg"
129
+ rm_rf "tmp"
130
+ rm "Gemfile.lock" if File.exist?("Gemfile.lock")
118
131
  end
119
132
 
120
133
  namespace :clobber do
@@ -124,11 +137,5 @@ namespace :clobber do
124
137
  end
125
138
  end
126
139
 
127
- namespace :bundle do
128
- task :install do
129
- sh "bundle install"
130
- end
131
- end
132
-
133
- task :default => ["bundle:install", "clobber:app", "generate:app", "generate:stuff", :spec, :cucumber, :smoke]
140
+ task :default => ["clobber:app", "generate:app", "generate:stuff", :smoke, :spec, :cucumber]
134
141
 
@@ -1,8 +1,20 @@
1
1
  # Upgrade to rspec-rails-2
2
2
 
3
- ## What's changed
3
+ ## Controller specs
4
4
 
5
- ### View specs
5
+ ### render_views
6
+
7
+ Controller specs, by default, do _not_ render views. This helps keep the
8
+ controller specs focused on the controller. Use `render_views` instead of
9
+ rspec-1's `integrate_views` to tell the spec to render the views:
10
+
11
+ describe WidgetController do
12
+ render_views
13
+
14
+ describe "GET index" do
15
+ ...
16
+
17
+ ## View specs
6
18
 
7
19
  Rails changed the way it renders partials, so to set an expectation that a partial
8
20
  gets rendered:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0.beta.10
1
+ 2.0.0.beta.11
@@ -19,13 +19,21 @@ def write_symlink(file_or_dir)
19
19
  system "ln -s #{source} #{target}"
20
20
  end
21
21
 
22
+ def copy(file_or_dir)
23
+ source = example_app_path(file_or_dir)
24
+ target = aruba_path(file_or_dir)
25
+ system "cp -r #{source} #{target}"
26
+ end
27
+
22
28
  Before do
23
29
  steps %Q{
24
30
  Given a directory named "spec"
25
31
  }
26
32
 
27
33
  Dir['tmp/example_app/*'].each do |file_or_dir|
28
- unless file_or_dir =~ /spec$/
34
+ if file_or_dir =~ /Gemfile/
35
+ copy(file_or_dir)
36
+ elsif !(file_or_dir =~ /spec$/)
29
37
  write_symlink(file_or_dir)
30
38
  end
31
39
  end
@@ -19,6 +19,16 @@ DESC
19
19
  directory 'lib'
20
20
  end
21
21
 
22
+ def copy_initializer_files
23
+ inside "config" do
24
+ empty_directory "initializers", :verbose => false
25
+
26
+ inside "initializers" do
27
+ template "rspec_generator.rb.tt", "rspec_generator.rb"
28
+ end
29
+ end
30
+ end
31
+
22
32
  def copy_autotest_files
23
33
  directory 'autotest'
24
34
  end
@@ -0,0 +1,6 @@
1
+ <%= app_name %>.configure do
2
+ config.generators do |g|
3
+ g.integration_tool :rspec
4
+ g.test_framework :rspec
5
+ end
6
+ end
@@ -20,7 +20,8 @@ Rspec.configure do |config|
20
20
 
21
21
  config.fixture_path = "#{::Rails.root}/spec/fixtures"
22
22
 
23
- # If you'd prefer not to run each of your examples within a transaction,
24
- # uncomment the following line.
25
- # config.use_transactional_examples = false
23
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
24
+ # examples within a transaction, comment the following line or assign false
25
+ # instead of true.
26
+ config.use_transactional_fixtures = true
26
27
  end
@@ -2,6 +2,76 @@ require 'action_controller'
2
2
  require 'webrat'
3
3
 
4
4
  module RSpec::Rails
5
+ # Extends ActionController::TestCase::Behavior to work with RSpec.
6
+ #
7
+ # == Examples
8
+ #
9
+ # == with stubs
10
+ #
11
+ # describe WidgetsController do
12
+ # describe "GET index" do
13
+ # it "assigns all widgets to @widgets" do
14
+ # widget = stub_model(Widget)
15
+ # Widget.stub(:all) { widget }
16
+ # get :index
17
+ # assigns(:widgets).should eq([widget])
18
+ # end
19
+ # end
20
+ # end
21
+ #
22
+ # === with a factory
23
+ #
24
+ # describe WidgetsController do
25
+ # describe "GET index" do
26
+ # it "assigns all widgets to @widgets" do
27
+ # widget = Factory(:widget)
28
+ # get :index
29
+ # assigns(:widgets).should eq([widget])
30
+ # end
31
+ # end
32
+ # end
33
+ #
34
+ # === with fixtures
35
+ #
36
+ # describe WidgetsController do
37
+ # describe "GET index" do
38
+ # fixtures :widgets
39
+ # it "assigns all widgets to @widgets" do
40
+ # get :index
41
+ # assigns(:widgets).should eq(Widget.all)
42
+ # end
43
+ # end
44
+ # end
45
+ #
46
+ # == Matchers
47
+ #
48
+ # In addition to the stock matchers from rspec-expectations, controller
49
+ # specs add these matchers, which delegate to rails' assertions:
50
+ #
51
+ # response.should render_template(*args)
52
+ # => delegates to assert_template(*args)
53
+ #
54
+ # response.should redirect_to(destination)
55
+ # => delegates to assert_redirected_to(destination)
56
+ #
57
+ # == Isolation from views
58
+ #
59
+ # RSpec's preferred approach to spec'ing controller behaviour is to isolate
60
+ # the controller from its collaborators. By default, therefore, controller
61
+ # example groups do not render views. This means that a view template need
62
+ # not even exist in order to run a controller spec, and you can still specify
63
+ # which template the controller should render.
64
+ #
65
+ # == View rendering
66
+ #
67
+ # If you prefer a more integrated approach, similar to that of
68
+ # Rails' functional tests, you can tell controller groups to
69
+ # render views with the +render_views+ declaration:
70
+ #
71
+ # describe WidgetsController do
72
+ # render_views
73
+ # ...
74
+ #
5
75
  module ControllerExampleGroup
6
76
  extend ActiveSupport::Concern
7
77
 
@@ -2,6 +2,30 @@ require 'webrat'
2
2
  require 'rspec/rails/view_assigns'
3
3
 
4
4
  module RSpec::Rails
5
+ # Extends ActionView::TestCase::Behavior
6
+ #
7
+ # == Examples
8
+ #
9
+ # describe RoleBasedDisplayHelper do
10
+ # describe "display_for" do
11
+ # context "given the role of the current user" do
12
+ # it "yields to the block" do
13
+ # helper.stub(:current_user) { double(:roles => ['admin'] }
14
+ # text = helper.display_for('admin') { "this text" }
15
+ # text.should eq("this text")
16
+ # end
17
+ # end
18
+ #
19
+ # context "given a different role that that of the current user" do
20
+ # it "renders an empty String" do
21
+ # helper.stub(:current_user) { double(:roles => ['manager'] }
22
+ # text = helper.display_for('admin') { "this text" }
23
+ # text.should eq("")
24
+ # end
25
+ # end
26
+ # end
27
+ # end
28
+ #
5
29
  module HelperExampleGroup
6
30
  extend ActiveSupport::Concern
7
31
 
@@ -18,8 +42,8 @@ module RSpec::Rails
18
42
  end
19
43
 
20
44
  module InstanceMethods
21
- # Returns an instance of ActionView::Base instrumented with this helper and
22
- # any of the built-in rails helpers.
45
+ # Returns an instance of ActionView::Base with the helper being specified
46
+ # mixed in, along with any of the built-in rails helpers.
23
47
  def helper
24
48
  _view
25
49
  end
@@ -2,6 +2,23 @@ require 'webrat'
2
2
  require 'rspec/rails/view_assigns'
3
3
 
4
4
  module RSpec::Rails
5
+ # Extends ActionView::TestCase::Behavior
6
+ #
7
+ # == Examples
8
+ #
9
+ # describe "widgets/index.html.erb" do
10
+ # it "renders the @widgets" do
11
+ # widgets = [
12
+ # stub_model(Widget, :name => "Foo"),
13
+ # stub_model(Widget, :name => "Bar")
14
+ # ]
15
+ # assign(:widgets, widgets)
16
+ # render
17
+ # rendered.should contain("Foo")
18
+ # rendered.should contain("Bar")
19
+ # end
20
+ # end
21
+ #
5
22
  module ViewExampleGroup
6
23
  extend ActiveSupport::Concern
7
24
 
@@ -23,7 +23,7 @@ end
23
23
 
24
24
  RSpec.configure do |c|
25
25
  c.include RSpec::Rails::FixtureSupport
26
- c.add_setting :use_transactional_fixtures, :default => true
26
+ c.add_setting :use_transactional_fixtures
27
27
  c.add_setting :use_transactional_examples, :alias => :use_transactional_fixtures
28
28
  c.add_setting :use_instantiated_fixtures
29
29
  c.add_setting :global_fixtures
@@ -8,6 +8,7 @@ module RSpec
8
8
  metadata[:rspec_rails] ||= {}
9
9
  end
10
10
 
11
+ # See RSpec::Rails::ControllerExampleGroup
11
12
  def render_views
12
13
  metadata_for_rspec_rails[:render_views] = true
13
14
  end
@@ -5,18 +5,19 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rspec-rails}
8
- s.version = "2.0.0.beta.10"
8
+ s.version = "2.0.0.beta.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Chelimsky", "Chad Humphries"]
12
- s.date = %q{2010-06-02}
12
+ s.date = %q{2010-06-06}
13
13
  s.description = %q{RSpec-2 for Rails-3}
14
14
  s.email = %q{dchelimsky@gmail.com;chad.humphries@gmail.com}
15
15
  s.extra_rdoc_files = [
16
16
  "README.markdown"
17
17
  ]
18
18
  s.files = [
19
- ".gitignore",
19
+ ".document",
20
+ ".gitignore",
20
21
  "Gemfile",
21
22
  "README.markdown",
22
23
  "Rakefile",
@@ -24,7 +25,6 @@ Gem::Specification.new do |s|
24
25
  "VERSION",
25
26
  "autotest/discover.rb",
26
27
  "cucumber.yml",
27
- "example_app_template.rb",
28
28
  "features/controller_specs/do_not_render_views.feature",
29
29
  "features/controller_specs/readers.feature",
30
30
  "features/controller_specs/render_views.feature",
@@ -43,6 +43,7 @@ Gem::Specification.new do |s|
43
43
  "lib/generators/rspec/helper/templates/helper_spec.rb",
44
44
  "lib/generators/rspec/install/install_generator.rb",
45
45
  "lib/generators/rspec/install/templates/autotest/discover.rb",
46
+ "lib/generators/rspec/install/templates/config/initializers/rspec_generator.rb.tt",
46
47
  "lib/generators/rspec/install/templates/lib/tasks/rspec.rake",
47
48
  "lib/generators/rspec/install/templates/spec/spec_helper.rb",
48
49
  "lib/generators/rspec/integration/integration_generator.rb",
@@ -67,7 +68,6 @@ Gem::Specification.new do |s|
67
68
  "lib/rspec-rails.rb",
68
69
  "lib/rspec/rails.rb",
69
70
  "lib/rspec/rails/adapters.rb",
70
- "lib/rspec/rails/configuration.rb",
71
71
  "lib/rspec/rails/example.rb",
72
72
  "lib/rspec/rails/example/controller_example_group.rb",
73
73
  "lib/rspec/rails/example/helper_example_group.rb",
@@ -104,20 +104,22 @@ Gem::Specification.new do |s|
104
104
  "spec/spec_helper.rb",
105
105
  "spec/support/helpers.rb",
106
106
  "specs.watchr",
107
+ "templates/Gemfile",
107
108
  "templates/generate_stuff.rb",
108
109
  "templates/run_specs.rb"
109
110
  ]
110
111
  s.homepage = %q{http://github.com/rspec/rspec-rails}
111
112
  s.post_install_message = %q{**************************************************
112
113
 
113
- Thank you for installing rspec-rails-2.0.0.beta.10!
114
+ Thank you for installing rspec-rails-2.0.0.beta.11!
114
115
 
115
116
  This version of rspec-rails only works with
116
117
  versions of rails >= 3.0.0.pre.
117
118
 
118
- This is beta software. If you are looking
119
- for a supported production release, please
120
- "gem install rspec-rails" (without --pre).
119
+ Be sure to run the following command in each of your
120
+ Rails apps if you're upgrading:
121
+
122
+ script/rails generate rspec
121
123
 
122
124
  **************************************************
123
125
  }
@@ -125,7 +127,7 @@ Gem::Specification.new do |s|
125
127
  s.require_paths = ["lib"]
126
128
  s.rubyforge_project = %q{rspec}
127
129
  s.rubygems_version = %q{1.3.6}
128
- s.summary = %q{rspec-rails-2.0.0.beta.10}
130
+ s.summary = %q{rspec-rails-2.0.0.beta.11}
129
131
  s.test_files = [
130
132
  "spec/rspec/rails/example/controller_example_group_spec.rb",
131
133
  "spec/rspec/rails/example/helper_example_group_spec.rb",
@@ -149,14 +151,14 @@ Gem::Specification.new do |s|
149
151
  s.specification_version = 3
150
152
 
151
153
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
152
- s.add_runtime_dependency(%q<rspec>, ["= 2.0.0.beta.10"])
154
+ s.add_runtime_dependency(%q<rspec>, ["= 2.0.0.beta.11"])
153
155
  s.add_runtime_dependency(%q<webrat>, [">= 0.7.0"])
154
156
  else
155
- s.add_dependency(%q<rspec>, ["= 2.0.0.beta.10"])
157
+ s.add_dependency(%q<rspec>, ["= 2.0.0.beta.11"])
156
158
  s.add_dependency(%q<webrat>, [">= 0.7.0"])
157
159
  end
158
160
  else
159
- s.add_dependency(%q<rspec>, ["= 2.0.0.beta.10"])
161
+ s.add_dependency(%q<rspec>, ["= 2.0.0.beta.11"])
160
162
  s.add_dependency(%q<webrat>, [">= 0.7.0"])
161
163
  end
162
164
  end
@@ -1,7 +1,9 @@
1
1
  require "spec_helper"
2
2
 
3
3
  module RSpec::Rails
4
- describe HelperExampleGroup do
4
+ describe HelperExampleGroup::InstanceMethods do
5
+ module ::FoosHelper; end
6
+
5
7
  it "is included in specs in ./spec/views" do
6
8
  stub_metadata(
7
9
  :example_group => {:file_path => "./spec/helpers/whatever_spec.rb:15"}
@@ -10,13 +12,30 @@ module RSpec::Rails
10
12
  group.included_modules.should include(HelperExampleGroup)
11
13
  end
12
14
 
13
- module ::FoosHelper; end
14
-
15
15
  it "provides a controller_path based on the helper module's name" do
16
- helper_spec = Object.new
17
- helper_spec.extend HelperExampleGroup::InstanceMethods
16
+ helper_spec = Object.new.extend HelperExampleGroup::InstanceMethods
18
17
  helper_spec.stub_chain(:running_example, :example_group, :describes).and_return(FoosHelper)
19
18
  helper_spec.__send__(:_controller_path).should == "foos"
20
19
  end
20
+
21
+ describe "#helper" do
22
+ it "returns the instance of AV::Base provided by AV::TC::Behavior" do
23
+ helper_spec = Object.new.extend HelperExampleGroup::InstanceMethods
24
+ av_tc_b_view = double('_view')
25
+ helper_spec.stub(:_view) { av_tc_b_view }
26
+ helper_spec.helper.should eq(av_tc_b_view)
27
+ end
28
+ end
29
+ end
30
+
31
+ describe HelperExampleGroup::ClassMethods do
32
+ describe "determine_default_helper_class" do
33
+ it "returns the helper module passed to describe" do
34
+ helper_spec = Object.new.extend HelperExampleGroup::ClassMethods
35
+ helper_spec.stub(:describes) { FoosHelper }
36
+ helper_spec.determine_default_helper_class("ignore this").
37
+ should eq(FoosHelper)
38
+ end
39
+ end
21
40
  end
22
41
  end
@@ -0,0 +1,30 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem "rails", :path => "../../vendor/rails"
4
+
5
+ gem 'sqlite3-ruby', :require => 'sqlite3'
6
+
7
+ # Use unicorn as the web server
8
+ # gem 'unicorn'
9
+
10
+ # Deploy with Capistrano
11
+ # gem 'capistrano'
12
+
13
+ # To use debugger
14
+ # gem 'ruby-debug'
15
+
16
+ # Bundle the extra gems:
17
+ # gem 'bj'
18
+ # gem 'nokogiri', '1.4.1'
19
+ # gem 'sqlite3-ruby', :require => 'sqlite3'
20
+ # gem 'aws-s3', :require => 'aws/s3'
21
+
22
+ # Bundle gems for certain environments:
23
+ # gem 'rspec', :group => :test
24
+ # group :test do
25
+ # gem 'webrat'
26
+ # end
27
+
28
+ group :test do
29
+ gem "rspec-rails", :path => "../../../rspec-rails"
30
+ end
metadata CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
7
7
  - 0
8
8
  - 0
9
9
  - beta
10
- - 10
11
- version: 2.0.0.beta.10
10
+ - 11
11
+ version: 2.0.0.beta.11
12
12
  platform: ruby
13
13
  authors:
14
14
  - David Chelimsky
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-06-02 00:00:00 -05:00
20
+ date: 2010-06-06 00:00:00 -04:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -32,8 +32,8 @@ dependencies:
32
32
  - 0
33
33
  - 0
34
34
  - beta
35
- - 10
36
- version: 2.0.0.beta.10
35
+ - 11
36
+ version: 2.0.0.beta.11
37
37
  type: :runtime
38
38
  version_requirements: *id001
39
39
  - !ruby/object:Gem::Dependency
@@ -59,6 +59,7 @@ extensions: []
59
59
  extra_rdoc_files:
60
60
  - README.markdown
61
61
  files:
62
+ - .document
62
63
  - .gitignore
63
64
  - Gemfile
64
65
  - README.markdown
@@ -67,7 +68,6 @@ files:
67
68
  - VERSION
68
69
  - autotest/discover.rb
69
70
  - cucumber.yml
70
- - example_app_template.rb
71
71
  - features/controller_specs/do_not_render_views.feature
72
72
  - features/controller_specs/readers.feature
73
73
  - features/controller_specs/render_views.feature
@@ -86,6 +86,7 @@ files:
86
86
  - lib/generators/rspec/helper/templates/helper_spec.rb
87
87
  - lib/generators/rspec/install/install_generator.rb
88
88
  - lib/generators/rspec/install/templates/autotest/discover.rb
89
+ - lib/generators/rspec/install/templates/config/initializers/rspec_generator.rb.tt
89
90
  - lib/generators/rspec/install/templates/lib/tasks/rspec.rake
90
91
  - lib/generators/rspec/install/templates/spec/spec_helper.rb
91
92
  - lib/generators/rspec/integration/integration_generator.rb
@@ -110,7 +111,6 @@ files:
110
111
  - lib/rspec-rails.rb
111
112
  - lib/rspec/rails.rb
112
113
  - lib/rspec/rails/adapters.rb
113
- - lib/rspec/rails/configuration.rb
114
114
  - lib/rspec/rails/example.rb
115
115
  - lib/rspec/rails/example/controller_example_group.rb
116
116
  - lib/rspec/rails/example/helper_example_group.rb
@@ -147,6 +147,7 @@ files:
147
147
  - spec/spec_helper.rb
148
148
  - spec/support/helpers.rb
149
149
  - specs.watchr
150
+ - templates/Gemfile
150
151
  - templates/generate_stuff.rb
151
152
  - templates/run_specs.rb
152
153
  has_rdoc: true
@@ -156,14 +157,15 @@ licenses: []
156
157
  post_install_message: |
157
158
  **************************************************
158
159
 
159
- Thank you for installing rspec-rails-2.0.0.beta.10!
160
+ Thank you for installing rspec-rails-2.0.0.beta.11!
160
161
 
161
162
  This version of rspec-rails only works with
162
163
  versions of rails >= 3.0.0.pre.
163
164
 
164
- This is beta software. If you are looking
165
- for a supported production release, please
166
- "gem install rspec-rails" (without --pre).
165
+ Be sure to run the following command in each of your
166
+ Rails apps if you're upgrading:
167
+
168
+ script/rails generate rspec
167
169
 
168
170
  **************************************************
169
171
 
@@ -193,7 +195,7 @@ rubyforge_project: rspec
193
195
  rubygems_version: 1.3.6
194
196
  signing_key:
195
197
  specification_version: 3
196
- summary: rspec-rails-2.0.0.beta.10
198
+ summary: rspec-rails-2.0.0.beta.11
197
199
  test_files:
198
200
  - spec/rspec/rails/example/controller_example_group_spec.rb
199
201
  - spec/rspec/rails/example/helper_example_group_spec.rb
@@ -1,5 +0,0 @@
1
- $LOAD_PATH.unshift(File.expand_path('../lib', __FILE__))
2
- require 'rspec/rails/version'
3
-
4
- gem 'rspec-rails', :path => File.expand_path('../', __FILE__)
5
-
@@ -1,8 +0,0 @@
1
- module RSpec
2
- module Rails
3
- module Configuration
4
- attr_accessor :fixture_path ,:global_fixtures
5
- end
6
- end
7
- end
8
-