summaryrefslogtreecommitdiff
path: root/features/steps/project/builds.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/project/builds.rb')
-rw-r--r--features/steps/project/builds.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/features/steps/project/builds.rb b/features/steps/project/builds.rb
new file mode 100644
index 00000000000..769690dd79d
--- /dev/null
+++ b/features/steps/project/builds.rb
@@ -0,0 +1,14 @@
+class Spinach::Features::ProjectBuilds < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedProject
+ include SharedBuilds
+ include RepoHelpers
+
+ step 'I see summary for build' do
+ expect(page).to have_content "Build ##{@build.id}"
+ end
+
+ step 'I see build trace' do
+ expect(page).to have_css '#build-trace'
+ end
+end