---
title: "Discussion on \"Week 4 - Using more RSpec\" | Hashnode"
description: "Discussion on \"Week 4 - Using more RSpec\". Testing doubles, Mocks, Stubs and Spies\ndescribe Oystercard do\n    let(:entry_station) { double :station }\n    let(:exit_station) { double :station }\n\n\n    it 'stores exit_station' do\n      subject.top_up(30)\n      subject.touch_in(entry_station)\n   ..."
url: "https://hashnode.com/posts/week-4-using-more-rspec/5fe0cf78fbf9845cf8bd7f35"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Week 4 - Using more RSpec](https://miochung.hashnode.dev/week-4-using-more-rspec?utm_source=hashnode&utm_medium=feed)

Testing doubles, Mocks, Stubs and Spies describe Oystercard do let(:entry\_station) { double :station } let(:exit\_station) { double :station } it 'stores exit\_station' do subject.top\_up(30) subject.touch\_in(entry\_station) ...

Dec 21, 2020 · 13 min read · miochung.hashnode.dev  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)
-   [#bootcamp](https://hashnode.com/tag/bootcamp)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#tdd](https://hashnode.com/tag/tdd)

## Written by

[Mio Chung](https://hashnode.com/@Mio)

@Mio

  
[View profile](https://hashnode.com/@Mio)

Makers Academy student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
