-
I'm trying to use the Rails4 branch with Rails4.0.0-beta1 but keep getting that error.
Here is the stack trace:
``` ruby
project/config/routes.rb:4:in `block in ': undefined method `api_version' for…
-
Hopefully @petebacondarwin you can help me out with the last tests having to do with `uiDateFormatConfig`.
To run tests, do the following:
- `bower install`
- `testacular start components/angular-mod…
-
Error log
---
-> % bundle exec rake spec
Adhearsion configured environment: development
/home/gokul/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -S rspec ./spec/call_controllers/simon_game_spec.rb ./spec/…
-
Per CONTRIBUTING.md it should be possible to run the entire test suite with `bundle exec rake`.
`script/ci.sh` completes successfully as do `rspec` and `cucumber`
Stack trace:
```
** Invoke defaul…
-
In my specs I tried using a `mock_model` for checking ActiveRecord validation. The error I got was:
```
undefined method `base_class' for Dummy:Class
```
I assume this is an ActiveRecord class metho…
avit updated
12 years ago
-
Currently the Django database setup happens at pytest session setup, but errors there (e.g. incorrect model) result in py.test internal errors. This issue discusses moving the db setup to item setup …
flub updated
11 years ago
-
The following snipit works well:
```
foo = mock("Foo")
foo.stub(:bar).and_return('first', 'second', 'other')
p foo.bar
p foo.bar
p foo.bar
```
Output:
```
# "first"
# "second"
# "other"
```
Howeve…
-
Hey Guys-
I ran into this issue when I was using a RR mock in a parent context's setup (see example).
```
require '.....'
context "bla" do
setup do
puts "SETUP"
Object.new.tap do |obj
…
-
The generated mock for the S object in Lift does not compile since it has methods with by name parameters. Below is a simpler example (than the entire S object) that illustrates the issue.
``` scala…
-
# RFC ????: Mocking Library
@authors: iigorr
@created: Fri Sep 23 14:05:00 2011
@status: draft
@category: unittest
## Scope of Change
A mocking framework will be added to the unittest API.
## Ra…