public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
==================================================
# repos/rspec
# bin/rake
----------------------------------------
bin/rake
Nothing to do for the default task
 
==================================================
# repos/rspec-rails
# bin/rake
----------------------------------------
bin/rake
/home/sam/.rvm/rubies/ruby-2.0.0-p0/bin/ruby -w -S rspec ./spec/autotest/rails_rspec2_spec.rb ./spec/generators/rspec/controller/controller_generator_spec.rb ./spec/generators/rspec/helper/helper_generator_spec.rb ./spec/generators/rspec/install/install_generator_spec.rb ./spec/generators/rspec/integration/integration_generator_spec.rb ./spec/generators/rspec/mailer/mailer_generator_spec.rb ./spec/generators/rspec/model/model_generator_spec.rb ./spec/generators/rspec/observer/observer_generator_spec.rb ./spec/generators/rspec/scaffold/scaffold_generator_spec.rb ./spec/generators/rspec/view/view_generator_spec.rb ./spec/rspec/rails/assertion_adapter_spec.rb ./spec/rspec/rails/assertion_delegator_spec.rb ./spec/rspec/rails/configuration_spec.rb ./spec/rspec/rails/deprecations_spec.rb ./spec/rspec/rails/example/controller_example_group_spec.rb ./spec/rspec/rails/example/feature_example_group_spec.rb ./spec/rspec/rails/example/helper_example_group_spec.rb ./spec/rspec/rails/example/mailer_example_group_spec.rb ./spec/rspec/rails/example/model_example_group_spec.rb ./spec/rspec/rails/example/request_example_group_spec.rb ./spec/rspec/rails/example/routing_example_group_spec.rb ./spec/rspec/rails/example/view_example_group_spec.rb ./spec/rspec/rails/extensions/active_model/errors_on_spec.rb ./spec/rspec/rails/extensions/active_record/base_spec.rb ./spec/rspec/rails/extensions/active_record/records_spec.rb ./spec/rspec/rails/fixture_support_spec.rb ./spec/rspec/rails/matchers/be_a_new_spec.rb ./spec/rspec/rails/matchers/be_new_record_spec.rb ./spec/rspec/rails/matchers/be_routable_spec.rb ./spec/rspec/rails/matchers/be_valid_spec.rb ./spec/rspec/rails/matchers/errors_on_spec.rb ./spec/rspec/rails/matchers/has_spec.rb ./spec/rspec/rails/matchers/have_rendered_spec.rb ./spec/rspec/rails/matchers/redirect_to_spec.rb ./spec/rspec/rails/matchers/relation_match_array_spec.rb ./spec/rspec/rails/matchers/route_to_spec.rb ./spec/rspec/rails/mocks/mock_model_spec.rb ./spec/rspec/rails/mocks/stub_model_spec.rb ./spec/rspec/rails/setup_and_teardown_adapter_spec.rb ./spec/rspec/rails/view_rendering_spec.rb --color
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.8/lib/active_support/core_ext/class/attribute.rb:70: warning: assigned but unused variable - instance_reader
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.8/lib/active_support/core_ext/load_error.rb:9: warning: method redefined; discarding old path
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/actionpack-3.2.8/lib/action_controller/metal/redirecting.rb:80: warning: assigned but unused variable - status
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/actionpack-3.2.8/lib/abstract_controller/layouts.rb:312: warning: instance variable @_layout not initialized
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/thor-0.17.0/lib/thor/actions/file_manipulation.rb:297: warning: private attribute?
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/railties-3.2.8/lib/rails/generators/test_case.rb:33: warning: method redefined; discarding old destination_root
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.8/lib/active_support/core_ext/class/attribute.rb:97: warning: previous definition of destination_root was here
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/railties-3.2.8/lib/rails/generators/test_case.rb:33: warning: method redefined; discarding old current_path
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.8/lib/active_support/core_ext/class/attribute.rb:97: warning: previous definition of current_path was here
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/railties-3.2.8/lib/rails/generators/test_case.rb:33: warning: method redefined; discarding old generator_class
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.8/lib/active_support/core_ext/class/attribute.rb:97: warning: previous definition of generator_class was here
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/railties-3.2.8/lib/rails/generators/test_case.rb:33: warning: method redefined; discarding old default_arguments
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.8/lib/active_support/core_ext/class/attribute.rb:97: warning: previous definition of default_arguments was here
/home/sam/dev/rspec-dev/repos/rspec-expectations/lib/rspec/matchers/dsl.rb:8: warning: method redefined; discarding old exist
/home/sam/dev/rspec-dev/repos/rspec-expectations/lib/rspec/matchers.rb:419: warning: previous definition of exist was here
/home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/message_expectation.rb:145: warning: `*' interpreted as argument prefix
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:194: warning: method redefined; discarding old subject
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/ammeter-0.2.5/lib/ammeter/rspec/generator/example/generator_example_group.rb:64: warning: previous definition of subject was here
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:198: warning: method redefined; discarding old subject
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:198: warning: previous definition of subject was here
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:194: warning: method redefined; discarding old subject
/home/sam/.rvm/gems/ruby-2.0.0-p0/gems/ammeter-0.2.5/lib/ammeter/rspec/generator/example/generator_example_group.rb:64: warning: previous definition of subject was here
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:198: warning: method redefined; discarding old subject
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:198: warning: previous definition of subject was here
Run options: include {:focus=>true}
 
All examples were filtered out; ignoring {:focus=>true}
..................................................
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/have_rendered_spec.rb:32:in `block (5 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/have_rendered_spec.rb:41:in `block (5 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/have_rendered_spec.rb:52:in `block (5 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F........................................................................./home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:194: warning: method redefined; discarding old subject
/home/sam/dev/rspec-dev/repos/rspec-rails/lib/rspec/rails/example/controller_example_group.rb:118: warning: previous definition of subject was here
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:198: warning: method redefined; discarding old subject
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:198: warning: previous definition of subject was here
................
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/route_to_spec.rb:146:in `block (2 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F....
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/route_to_spec.rb:60:in `block (4 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
.
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/route_to_spec.rb:69:in `block (4 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/route_to_spec.rb:80:in `block (4 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/route_to_spec.rb:91:in `block (4 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/route_to_spec.rb:104:in `block (4 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
.
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/route_to_spec.rb:113:in `block (4 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/route_to_spec.rb:124:in `block (4 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/route_to_spec.rb:135:in `block (4 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F....................................................................../home/sam/.rvm/gems/ruby-2.0.0-p0/gems/activemodel-3.2.8/lib/active_model/lint.rb:25: warning: method redefined; discarding old persisted?
/home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/method_double.rb:157: warning: previous definition of persisted? was here
../home/sam/.rvm/gems/ruby-2.0.0-p0/gems/activemodel-3.2.8/lib/active_model/lint.rb:42: warning: method redefined; discarding old persisted?
/home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/method_double.rb:157: warning: previous definition of persisted? was here
..................................................................................
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/have_rendered_spec.rb:32:in `block (5 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/have_rendered_spec.rb:41:in `block (5 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F
DEPRECATION: use #stub instead of #stub!. /home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/matchers/have_rendered_spec.rb:52:in `block (5 levels) in <top (required)>'
 
DEPRECATION: use #double instead of #stub. /home/sam/dev/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/methods.rb:52:in `stub!'
F........................................................../home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:76: warning: instance variable @application_helper not initialized
../home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:95: warning: method redefined; discarding old received
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:95: warning: previous definition of received was here
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:98: warning: method redefined; discarding old render
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:98: warning: previous definition of render was here
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:101: warning: method redefined; discarding old _assigns
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:101: warning: previous definition of _assigns was here
./home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:95: warning: method redefined; discarding old received
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:95: warning: previous definition of received was here
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:98: warning: method redefined; discarding old render
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:98: warning: previous definition of render was here
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:101: warning: method redefined; discarding old _assigns
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:101: warning: previous definition of _assigns was here
./home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:95: warning: method redefined; discarding old received
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:95: warning: previous definition of received was here
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:98: warning: method redefined; discarding old render
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:98: warning: previous definition of render was here
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:101: warning: method redefined; discarding old _assigns
/home/sam/dev/rspec-dev/repos/rspec-rails/spec/rspec/rails/example/view_example_group_spec.rb:101: warning: previous definition of _assigns was here
....
 
Failures:
 
1) have_rendered with should when assert_template passes passes
Failure/Error: expect do
expected no Exception, got #<NoMethodError: undefined method `assert_template' for #<RSpec::Core::ExampleGroup::Nested_36::Nested_4::Nested_1:0x000000060a5810>> with backtrace:
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:34:in `block (6 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:33:in `block (5 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:33:in `block (5 levels) in <top (required)>'
 
2) have_rendered with should when assert_template fails uses failure message from assert_template
Failure/Error: expect do
expected Exception with "this message", got #<NoMethodError: undefined method `assert_template' for #<RSpec::Core::ExampleGroup::Nested_36::Nested_4::Nested_2:0x0000000689b0b0>> with backtrace:
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:45:in `block (6 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:44:in `block (5 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:44:in `block (5 levels) in <top (required)>'
 
3) have_rendered with should when fails due to some other exception raises that exception
Failure/Error: expect do
expected Exception with "oops", got #<NoMethodError: undefined method `assert_template' for #<RSpec::Core::ExampleGroup::Nested_36::Nested_4::Nested_3:0x000000054e4698>> with backtrace:
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:56:in `block (6 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:55:in `block (5 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:55:in `block (5 levels) in <top (required)>'
 
4) route_to uses failure message from assert_recognizes
Failure/Error: self.stub!(:assert_recognizes).and_raise(
Stub :assert_recognizes received unexpected message :and_raise with (#<MiniTest::Assertion: this message>)
# ./spec/rspec/rails/matchers/route_to_spec.rb:146:in `block (2 levels) in <top (required)>'
 
5) route_to with should when assert_recognizes fails with an assertion failure fails with message from assert_recognizes
Failure/Error: expect do
expected RSpec::Expectations::ExpectationNotMetError with "this message" but nothing was raised
# ./spec/rspec/rails/matchers/route_to_spec.rb:72:in `block (4 levels) in <top (required)>'
 
6) route_to with should when assert_recognizes fails with a routing error fails with message from assert_recognizes
Failure/Error: expect do
expected RSpec::Expectations::ExpectationNotMetError with "this message" but nothing was raised
# ./spec/rspec/rails/matchers/route_to_spec.rb:83:in `block (4 levels) in <top (required)>'
 
7) route_to with should when an exception is raised raises that exception
Failure/Error: expect do
expected Exception with "oops" but nothing was raised
# ./spec/rspec/rails/matchers/route_to_spec.rb:94:in `block (4 levels) in <top (required)>'
 
8) route_to with should_not when assert_recognizes fails with an assertion failure passes
Failure/Error: expect do
expected no Exception, got #<RSpec::Expectations::ExpectationNotMetError: expected {:get=>"path"} not to route to matcher ["these", "options"]> with backtrace:
# ./spec/rspec/rails/matchers/route_to_spec.rb:117:in `block (5 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/route_to_spec.rb:116:in `block (4 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/route_to_spec.rb:116:in `block (4 levels) in <top (required)>'
 
9) route_to with should_not when assert_recognizes fails with a routing error passes
Failure/Error: expect do
expected no Exception, got #<RSpec::Expectations::ExpectationNotMetError: expected {:get=>"path"} not to route to matcher ["these", "options"]> with backtrace:
# ./spec/rspec/rails/matchers/route_to_spec.rb:128:in `block (5 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/route_to_spec.rb:127:in `block (4 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/route_to_spec.rb:127:in `block (4 levels) in <top (required)>'
 
10) route_to with should_not when an exception is raised raises that exception
Failure/Error: expect do
expected Exception with "oops", got #<RSpec::Expectations::ExpectationNotMetError: expected {:get=>"path"} not to route to matcher ["these", "options"]> with backtrace:
# ./spec/rspec/rails/matchers/route_to_spec.rb:139:in `block (5 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/route_to_spec.rb:138:in `block (4 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/route_to_spec.rb:138:in `block (4 levels) in <top (required)>'
 
11) render_template with should when assert_template passes passes
Failure/Error: expect do
expected no Exception, got #<NoMethodError: undefined method `assert_template' for #<RSpec::Core::ExampleGroup::Nested_37::Nested_4::Nested_1:0x000000069dcc80>> with backtrace:
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:34:in `block (6 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:33:in `block (5 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:33:in `block (5 levels) in <top (required)>'
 
12) render_template with should when assert_template fails uses failure message from assert_template
Failure/Error: expect do
expected Exception with "this message", got #<NoMethodError: undefined method `assert_template' for #<RSpec::Core::ExampleGroup::Nested_37::Nested_4::Nested_2:0x00000002ec87e8>> with backtrace:
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:45:in `block (6 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:44:in `block (5 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:44:in `block (5 levels) in <top (required)>'
 
13) render_template with should when fails due to some other exception raises that exception
Failure/Error: expect do
expected Exception with "oops", got #<NoMethodError: undefined method `assert_template' for #<RSpec::Core::ExampleGroup::Nested_37::Nested_4::Nested_3:0x0000000620eaf8>> with backtrace:
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:56:in `block (6 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:55:in `block (5 levels) in <top (required)>'
# ./spec/rspec/rails/matchers/have_rendered_spec.rb:55:in `block (5 levels) in <top (required)>'
 
Finished in 10.87 seconds
378 examples, 13 failures
 
Failed examples:
 
rspec ./spec/rspec/rails/matchers/have_rendered_spec.rb:31 # have_rendered with should when assert_template passes passes
rspec ./spec/rspec/rails/matchers/have_rendered_spec.rb:40 # have_rendered with should when assert_template fails uses failure message from assert_template
rspec ./spec/rspec/rails/matchers/have_rendered_spec.rb:51 # have_rendered with should when fails due to some other exception raises that exception
rspec ./spec/rspec/rails/matchers/route_to_spec.rb:145 # route_to uses failure message from assert_recognizes
rspec ./spec/rspec/rails/matchers/route_to_spec.rb:68 # route_to with should when assert_recognizes fails with an assertion failure fails with message from assert_recognizes
rspec ./spec/rspec/rails/matchers/route_to_spec.rb:79 # route_to with should when assert_recognizes fails with a routing error fails with message from assert_recognizes
rspec ./spec/rspec/rails/matchers/route_to_spec.rb:90 # route_to with should when an exception is raised raises that exception
rspec ./spec/rspec/rails/matchers/route_to_spec.rb:112 # route_to with should_not when assert_recognizes fails with an assertion failure passes
rspec ./spec/rspec/rails/matchers/route_to_spec.rb:123 # route_to with should_not when assert_recognizes fails with a routing error passes
rspec ./spec/rspec/rails/matchers/route_to_spec.rb:134 # route_to with should_not when an exception is raised raises that exception
rspec ./spec/rspec/rails/matchers/have_rendered_spec.rb:31 # render_template with should when assert_template passes passes
rspec ./spec/rspec/rails/matchers/have_rendered_spec.rb:40 # render_template with should when assert_template fails uses failure message from assert_template
rspec ./spec/rspec/rails/matchers/have_rendered_spec.rb:51 # render_template with should when fails due to some other exception raises that exception
 
Randomized with seed 17957
 
rake aborted!
/home/sam/.rvm/rubies/ruby-2.0.0-p0/bin/ruby -w -S rspec ./spec/autotest/rails_rspec2_spec.rb ./spec/generators/rspec/controller/controller_generator_spec.rb ./spec/generators/rspec/helper/helper_generator_spec.rb ./spec/generators/rspec/install/install_generator_spec.rb ./spec/generators/rspec/integration/integration_generator_spec.rb ./spec/generators/rspec/mailer/mailer_generator_spec.rb ./spec/generators/rspec/model/model_generator_spec.rb ./spec/generators/rspec/observer/observer_generator_spec.rb ./spec/generators/rspec/scaffold/scaffold_generator_spec.rb ./spec/generators/rspec/view/view_generator_spec.rb ./spec/rspec/rails/assertion_adapter_spec.rb ./spec/rspec/rails/assertion_delegator_spec.rb ./spec/rspec/rails/configuration_spec.rb ./spec/rspec/rails/deprecations_spec.rb ./spec/rspec/rails/example/controller_example_group_spec.rb ./spec/rspec/rails/example/feature_example_group_spec.rb ./spec/rspec/rails/example/helper_example_group_spec.rb ./spec/rspec/rails/example/mailer_example_group_spec.rb ./spec/rspec/rails/example/model_example_group_spec.rb ./spec/rspec/rails/example/request_example_group_spec.rb ./spec/rspec/rails/example/routing_example_group_spec.rb ./spec/rspec/rails/example/view_example_group_spec.rb ./spec/rspec/rails/extensions/active_model/errors_on_spec.rb ./spec/rspec/rails/extensions/active_record/base_spec.rb ./spec/rspec/rails/extensions/active_record/records_spec.rb ./spec/rspec/rails/fixture_support_spec.rb ./spec/rspec/rails/matchers/be_a_new_spec.rb ./spec/rspec/rails/matchers/be_new_record_spec.rb ./spec/rspec/rails/matchers/be_routable_spec.rb ./spec/rspec/rails/matchers/be_valid_spec.rb ./spec/rspec/rails/matchers/errors_on_spec.rb ./spec/rspec/rails/matchers/has_spec.rb ./spec/rspec/rails/matchers/have_rendered_spec.rb ./spec/rspec/rails/matchers/redirect_to_spec.rb ./spec/rspec/rails/matchers/relation_match_array_spec.rb ./spec/rspec/rails/matchers/route_to_spec.rb ./spec/rspec/rails/mocks/mock_model_spec.rb ./spec/rspec/rails/mocks/stub_model_spec.rb ./spec/rspec/rails/setup_and_teardown_adapter_spec.rb ./spec/rspec/rails/view_rendering_spec.rb --color failed
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/rake_task.rb:156:in `run_task'
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/rake_task.rb:124:in `block (2 levels) in initialize'
/home/sam/dev/rspec-dev/repos/rspec-core/lib/rspec/core/rake_task.rb:122:in `block in initialize'
Tasks: TOP => default => spec
(See full trace by running task with --trace)
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/file_utils.rb:45:in `call'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/file_utils.rb:45:in `sh'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/file_utils_ext.rb:40:in `sh'
/home/sam/dev/rspec-dev/Rakefile:29:in `block (3 levels) in run_command'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/bundler-1.3.4/lib/bundler.rb:218:in `block in with_clean_env'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/bundler-1.3.4/lib/bundler.rb:205:in `with_original_env'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/bundler-1.3.4/lib/bundler.rb:211:in `with_clean_env'
/home/sam/dev/rspec-dev/Rakefile:27:in `block (2 levels) in run_command'
/home/sam/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/fileutils.rb:206:in `chdir'
/home/sam/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/fileutils.rb:206:in `cd'
/home/sam/dev/rspec-dev/Rakefile:21:in `block in run_command'
/home/sam/dev/rspec-dev/Rakefile:18:in `each'
/home/sam/dev/rspec-dev/Rakefile:18:in `run_command'
/home/sam/dev/rspec-dev/Rakefile:182:in `block in <top (required)>'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/task.rb:228:in `call'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/task.rb:228:in `block in execute'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/task.rb:223:in `each'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/task.rb:166:in `block in invoke_with_call_chain'
/home/sam/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/application.rb:143:in `invoke_task'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/application.rb:101:in `each'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/application.rb:101:in `block in top_level'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/application.rb:110:in `run_with_threads'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/application.rb:95:in `top_level'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/application.rb:73:in `block in run'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/application.rb:70:in `run'
/home/sam/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/bin/rake:33:in `<top (required)>'
bin/rake:16:in `load'
bin/rake:16:in `<main>'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.