v1.0
This commit is contained in:
parent
0f43e98ef8
commit
d378468794
317 changed files with 11347 additions and 0 deletions
18
spec/support/shared_examples.rb
Normal file
18
spec/support/shared_examples.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
shared_examples_for :project_side_pane do
|
||||
subject { page }
|
||||
it { should have_content((@project || project).name) }
|
||||
it { should have_content("Commits") }
|
||||
it { should have_content("Team") }
|
||||
it { should have_content("Tree") }
|
||||
end
|
||||
|
||||
|
||||
shared_examples_for :tree_view do
|
||||
subject { page }
|
||||
|
||||
it "should have Tree View of project" do
|
||||
should have_content("app")
|
||||
should have_content("history")
|
||||
should have_content("Gemfile")
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue