-
```sh
rails new YOUR_APP_NAME --api --database=postgresql --skip-test --skip-action-cable --skip-action-mailer --skip-javascript
rails db:create
```
> Update Gemfile
```rb
# ...
group :de…
-
The following spec is green:
```
require 'rspec'
RSpec.describe 'too nice spy' do
example do
spy_obj = spy('spy Object')
expect(spy_obj).to have_receivedddddd(:foo) # passes
end
…
-
shoulda-matchers
http://morizyun.github.io/blog/shoulda-matchers-rspec-matcher/
-
## Summary
There are several matchers defined by Aruba that are very similar to matchers provided by RSpec. For example:
* `include_output_string` and its aliases `an_output_string_including` an…
-
### Subject of the issue
`include` breaks with a time range
Originally reported by @schwern in https://github.com/rubocop-hq/rubocop-rspec/issues/926
### Your environment
* Ruby version: 2…
pirj updated
9 months ago
-
E.g.
```
matcher :be_just_like do |expected|
match {|actual| actual == expected}
end
```
Related docs:
https://relishapp.com/rspec/rspec-expectations/v/3-8/docs/custom-matchers/define…
-
### Ensure the following before filing this issue
- [X] I verified it reproduces with the latest version with `- uses: ruby/setup-ruby@v1` (see [Versioning policy](https://github.com/ruby/setup-rub…
-
**Is your feature request related to a problem? Please describe.**
The 7.0 version of RSpec Rails introduced https://github.com/rspec/rspec-rails/pull/2745 by @odlp which is overall a great addit…
-
While attempting to write a test case for a feature, I renewed my favor for minitest over rspec.
I just think rspec is too hard to learn and deal with when we have all sorts of other stuff going on…
-
Can it work with AE? AE supports rspec style matchers, would it be possible to use or does Remarkable have very specific RSpec related code that would prevent it from doing so?
trans updated
13 years ago