Comments (8)
I add fixture support .
Please see my path and I want your comment .
http://github.com/hasimo/rspec-rails/compare/b4052347d53fdd86e87f...fixture
from rspec-rails.
There are some things I'd probably change, but I can work with what you've got and tweak things. The problem right now is I can't even run the specs:http://gist.github.com/416561
If you can get me a patch that I can apply and run the specs, I'll take it from there.
from rspec-rails.
I fixed on this commit .
http://github.com/hasimo/rspec-rails/commit/4d6cbaa893fcbf054934e2dea864a94c338433e5
from rspec-rails.
Great. Patch applies and the whole suite passes. I've got your changes in a fixtures branch and will merge that branch in after I make a few additional changes in the next couple of days.
http://github.com/rspec/rspec-rails/commit/db0cd6b2e163d66c4dde9d2e86909d2341febbae
from rspec-rails.
Closed by 10a8c5a.
from rspec-rails.
thanks.
from rspec-rails.
Sure - I changed some things around a bit - take a look at the latest and let me know if you have any questions.
from rspec-rails.
Many thanks for the fixture support; I have a sizeable collection of older specs relying on it.
from rspec-rails.
Related Issues (20)
- `url_for` fails to generate route with using `resource` method in config/routes.rb HOT 3
- Rails 7.1.beta.1: second test failure on system specs HOT 4
- rails 7.1 stub_template issue: undefined method `unshift' for #<ActionView::PathSet HOT 4
- Wrong variable name when generate scaffold with namespace & model-name options HOT 1
- Providing JSON data no longer works in request specs with Rails 7.1 HOT 6
- Template stubs are not removed in Rails 7.1. HOT 4
- Rails 7.1 hangs in github actions when use_transactional_fixtures = true HOT 6
- "expect to receive with" throws error when switching to Rails 7.1 HOT 17
- Rails/RedundantActiveRecordAllMethod false positive HOT 1
- Rails 7.1 upgrade: using deprecated preview_path= HOT 3
- Rails 7.1 raise WrongScopeError on take_failed_screenshot HOT 3
- be_routable not working in controller spec with Rails 7.1 HOT 2
- Wrap examples with Rails executor HOT 2
- Fixtures for namespaced models don't seem to work in rspec-rails 6.1.0 HOT 6
- Even if specify the use of TestUnit, it will be overwritten by Minitest and cannot be used. HOT 6
- stub_template isn't working as expected on latest version HOT 1
- render_template is not working HOT 12
- View example group inserts controller path into lookup_context in the wrong order HOT 2
- :git => "git://github.com/rspec/rspec.git" Not working anymore HOT 3
- rspec describe/context label within loop not woking HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rspec-rails.