Skip to content

Commit

Permalink
updating sync_database specs
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomdmoura committed Jan 3, 2014
1 parent 8854fc7 commit 355d8b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/specs/sync_database_spec.rb
@@ -1,11 +1,11 @@
require 'spec_helper'

describe "Gioco: database update support" do
describe "Gioco: database sync support" do
let(:user_a) { FactoryGirl.create(:user) }
let(:user_b) { FactoryGirl.create(:user) }
let(:user_c) { FactoryGirl.create(:user) }

context "Running database update rake task to simulate production environment" do
context "Running database sync rake task to simulate production environment" do

before(:all) do
User.delete_all
Expand All @@ -14,7 +14,7 @@
Point.delete_all
end

context "Using rake gioco:update_database to recreate all badges and relations" do
context "Using rake gioco:sync_database to recreate all badges and relations" do

before :all do
`cd #{Rails.root}/; rake gioco:sync_database`
Expand Down

0 comments on commit 355d8b6

Please sign in to comment.