Skip to content
Snippets Groups Projects
Verified Commit 0453d6d7 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett
Browse files

BE review changes

parent 6d2db33d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -63,7 +63,7 @@ class Blob < SimpleDelegator
end
 
def balsamiq?
binary? && extname.downcase.delete('.') == 'bmpr'
binary? && extension == 'bmpr'
end
 
def stl?
Loading
Loading
Loading
Loading
@@ -7,7 +7,6 @@ feature 'Balsamiq preview', :feature, :js do
let(:project) { create(:project) }
let(:branch) { 'add-balsamiq-file' }
let(:path) { 'files/images/balsamiq.bmpr' }
let(:file_content) { find('.file-content') }
 
before do
project.add_master(user)
Loading
Loading
@@ -16,7 +15,7 @@ feature 'Balsamiq preview', :feature, :js do
end
 
it 'should show a loading icon' do
expect(file_content).to have_selector('.loading')
expect(find('.file-content')).to have_selector('.loading')
end
 
it 'should show a viewer container' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment