summaryrefslogtreecommitdiff
path: root/features/steps/project/browse_files.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/project/browse_files.rb')
-rw-r--r--features/steps/project/browse_files.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/steps/project/browse_files.rb b/features/steps/project/browse_files.rb
index 1e54e00f37a..6fd0c2c2ded 100644
--- a/features/steps/project/browse_files.rb
+++ b/features/steps/project/browse_files.rb
@@ -2,6 +2,7 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
include SharedAuthentication
include SharedProject
include SharedPaths
+ include RepoHelpers
step 'I should see files from repository' do
page.should have_content "VERSION"
@@ -28,7 +29,7 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
end
step 'I should see raw file content' do
- page.source.should == ValidCommit::BLOB_FILE
+ page.source.should == sample_blob.data
end
step 'I click button "edit"' do