hopefully make travis happy:
This commit is contained in:
parent
b6c4cab669
commit
0d93227f07
3 changed files with 5 additions and 3 deletions
|
|
@ -774,6 +774,8 @@ form p.checkbox_select
|
|||
input[type='file']
|
||||
:top initial !important
|
||||
:right initial !important
|
||||
:height 100%
|
||||
:width 100%
|
||||
|
||||
img
|
||||
@include opacity(0.4)
|
||||
|
|
|
|||
|
|
@ -47,13 +47,13 @@ describe ConversationsController do
|
|||
it 'succeeds' do
|
||||
get :index
|
||||
response.should be_success
|
||||
assigns[:conversations].should == @conversations
|
||||
assigns[:conversations].should =~ @conversations
|
||||
end
|
||||
|
||||
it 'succeeds with json' do
|
||||
get :index, :format => :json
|
||||
response.should be_success
|
||||
response.body.should == @conversations.to_json
|
||||
response.body.should =~ @conversations.to_json
|
||||
end
|
||||
|
||||
it 'retrieves all conversations for a user' do
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ describe TemplatePicker do
|
|||
TemplatePicker::TEMPLATES.each do |template|
|
||||
describe "#{template} factory" do
|
||||
it 'works' do
|
||||
post = Factory(template.to_sym, :author => alice.person).reload
|
||||
post = Factory.build(template.to_sym, :author => alice.person)
|
||||
template_name = TemplatePicker.new(post).template_name.gsub('-', '_')
|
||||
template_name.should == template
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue