clean up whitespace from project

This commit is contained in:
Nihad Abbasov 2011-11-15 12:34:30 +04:00
parent 415eddaf39
commit 368deb5992
50 changed files with 356 additions and 413 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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

View file

@ -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