Commit b72e18b0 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Added feature test

parent 40e2be25
require 'spec_helper'
feature 'Balsamiq preview', :feature, :js do
include TreeHelper
let(:user) { create(:user) }
let(:project) { create(:project) }
let(:branch) { 'add-balsamiq-file' }
let(:path) { 'files/images/balsamiq.bmpr' }
before do
project.add_master(user)
login_as user
p namespace_project_blob_path(project.namespace, project, tree_join(branch, path))
visit namespace_project_blob_path(project.namespace, project, tree_join(branch, path))
end
it 'should' do
screenshot_and_open_image
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment