clean up whitespace from project
This commit is contained in:
parent
415eddaf39
commit
368deb5992
50 changed files with 356 additions and 413 deletions
|
@ -15,13 +15,13 @@ describe "Dashboard" do
|
|||
end
|
||||
|
||||
it "should have projects panel" do
|
||||
within ".project-list" do
|
||||
within ".project-list" do
|
||||
page.should have_content(@project.name)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
it "should have news feed" do
|
||||
within "#news-feed" do
|
||||
within "#news-feed" do
|
||||
page.should have_content("master")
|
||||
page.should have_content(@project.commit.author.name)
|
||||
page.should have_content(@project.commit.safe_message)
|
||||
|
|
|
@ -73,7 +73,7 @@ describe "Projects" do
|
|||
end
|
||||
|
||||
it "should beahave like activities page" do
|
||||
within ".project-update" do
|
||||
within ".project-update" do
|
||||
page.should have_content("master")
|
||||
page.should have_content(@project.commit.author.name)
|
||||
page.should have_content(@project.commit.safe_message)
|
||||
|
|
|
@ -10,7 +10,6 @@ describe "Tags" do
|
|||
# end
|
||||
# end
|
||||
|
||||
|
||||
describe "GET '/tags.json'" do
|
||||
before do
|
||||
@project = Factory :project
|
||||
|
@ -20,12 +19,9 @@ describe "Tags" do
|
|||
visit '/tags.json'
|
||||
end
|
||||
|
||||
|
||||
it "should contains tags" do
|
||||
page.should have_content('demo1')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
|
|
@ -7,7 +7,7 @@ describe "Top Panel", :js => true do
|
|||
before do
|
||||
visit projects_path
|
||||
fill_in "search", :with => "Ke"
|
||||
within ".ui-autocomplete" do
|
||||
within ".ui-autocomplete" do
|
||||
find(:xpath, "//a[.=\"Keys\"]").click
|
||||
end
|
||||
end
|
||||
|
@ -24,7 +24,7 @@ describe "Top Panel", :js => true do
|
|||
visit project_path(@project)
|
||||
|
||||
fill_in "search", :with => "Commi"
|
||||
within ".ui-autocomplete" do
|
||||
within ".ui-autocomplete" do
|
||||
find(:xpath, "//a[.=\"#{@project.code} / Commits\"]").click
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue