Skip to content
Extraits de code Groupes Projets
Valider 39c7478b rédigé par Maxwell Salzberg's avatar Maxwell Salzberg
Parcourir les fichiers

Revert "freeze time in conversations show spec to make ree travis happy"

as it did not work :/

This reverts commit d668b21c.
parent d668b21c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -154,12 +154,10 @@ describe ConversationsController do ...@@ -154,12 +154,10 @@ describe ConversationsController do
end end
it 'succeeds with json' do it 'succeeds with json' do
Timecop.freeze do get :show, :id => @conversation.id, :format => :json
get :show, :id => @conversation.id, :format => :json response.should be_success
response.should be_success assigns[:conversation].should == @conversation
assigns[:conversation].should == @conversation response.body.should == @conversation.to_json
response.body.should == @conversation.to_json
end
end end
it 'redirects to index' do it 'redirects to index' do
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter