Created
January 22, 2016 20:32
-
-
Save adelevie/1217d6bb08ecba2802f0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rails_helper' | |
| RSpec.describe Presenter::Bid do | |
| let(:ar_bid) { FactoryGirl.create(:bid) } | |
| let(:bid) { Presenter::Bid.new(ar_bid) } | |
| describe '#veiled_bidder' do | |
| context 'when there is an authenticated user' do | |
| context 'when the auction is in-progress' do | |
| it 'should unveil only information about the authenticated user' do | |
| end | |
| end | |
| context 'when the auction has ended' do | |
| it 'should unveil information about all bidders' do | |
| end | |
| end | |
| end | |
| context 'when there is not an authenticated user' do | |
| context 'when the auction is in-progress' do | |
| it 'should unveil nothing' do | |
| end | |
| end | |
| context 'when the auction has ended' do | |
| it 'should unveil information about all bidders' do | |
| end | |
| end | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment