Fourfingerz / DontBLazy

Web app for personal productivity with accountability via shared SMS to friends if you miss a goal.
3 stars 1 forks source link

[WIP] Fix specs #6

Open thiagogabriel opened 8 years ago

thiagogabriel commented 8 years ago

Hey @Fourfingerz

I'm working on the specs for model Micropost but some values are diverging. Can you review it? Let me know if you need any help to test/debug it.

Right now the following Micropost tests are not passing:

rspec ./spec/models/micropost_spec.rb:91 # Micropost#check_in when user did check in should eq 4
rspec ./spec/models/micropost_spec.rb:90 # Micropost#check_in when user did check in should eq 1
rspec ./spec/models/micropost_spec.rb:92 # Micropost#check_in when user did check in should eq 2
rspec ./spec/models/micropost_spec.rb:107 # Micropost#check_in when user did not check in should eq 2
rspec ./spec/models/micropost_spec.rb:106 # Micropost#check_in when user did not check in should eq 4

PS: This PR is including https://github.com/Fourfingerz/DontBLazy/pull/5