Commit e9c638e92c95ba46dc3e4ceb1437bd7d17fef624

Authored by Heitor
Committed by Rafael Manzo
1 parent 8c803107

Fixing projects create acceptance test

Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
Gemfile.lock
1 1 GIT
2 2 remote: https://github.com/mezuro/kalibro_client
3   - revision: c87d4e5b55f768ba4e59f964ac9d8dcea94216d6
  3 + revision: a4315323d18e70eb7161c4bce93227c614fce295
4 4 specs:
5 5 kalibro_client (0.0.1)
6 6 activesupport (>= 2.2.1)
... ...
app/models/project.rb
1 1 class Project < KalibroClient::Entities::Processor::Project
  2 + include KalibroRecord
2 3 def self.latest(count = 1)
3 4 all.sort { |a,b| b.id <=> a.id }.first(count)
4 5 end
... ...