DEV Community

loading...

# rspec

👋 Sign in for the ability sort posts by top and latest.
Test Rails API with json type

Test Rails API with json type

Reactions 2 Comments
1 min read
RSpec: do not verify hash keys separately

RSpec: do not verify hash keys separately

Reactions 5 Comments 2
1 min read
Build a Custom RSpec Matcher for Comparing DateTimes

Build a Custom RSpec Matcher for Comparing DateTimes

Reactions 2 Comments
4 min read
Which test will fall if we delete this piece of code?

Which test will fall if we delete this piece of code?

Reactions 5 Comments
1 min read
RSpec: when to use double instead of instance_double

RSpec: when to use double instead of instance_double

Reactions 1 Comments 2
1 min read
RSpec: what's important for the test

RSpec: what's important for the test

Reactions 6 Comments
1 min read
Basic Ruby Calculator with RSpec

Basic Ruby Calculator with RSpec

Reactions 8 Comments 4
8 min read
Please don't test attr_reader, attr_writer, or attr_accessor

Please don't test attr_reader, attr_writer, or attr_accessor

Reactions 5 Comments
1 min read
RSpec & Rails: how to test callbacks

RSpec & Rails: how to test callbacks

Reactions 2 Comments
1 min read
Explaining RSpec instance_double in 2 minutes

Explaining RSpec instance_double in 2 minutes

Reactions 5 Comments
1 min read
Why avoid too many abstractions in tests?

Why avoid too many abstractions in tests?

Reactions 2 Comments
3 min read