clean-up code

* Remove trailing whitespace
  * Converts hard-tabs into two-space soft-tabs
  * Remove consecutive blank lines
This commit is contained in:
Nihad Abbasov 2011-10-26 18:46:25 +05:00
parent f6a67fbad5
commit d62200cad4
112 changed files with 1408 additions and 1437 deletions

View file

@ -4,7 +4,7 @@ describe "Top Panel", :js => true do
before { login_as :user }
describe "Search autocomplete" do
before do
before do
visit projects_path
fill_in "search", :with => "Ke"
sleep(2)
@ -12,12 +12,12 @@ describe "Top Panel", :js => true do
end
it "should be on projects page" do
current_path.should == keys_path
current_path.should == keys_path
end
end
describe "with project" do
before do
before do
@project = Factory :project
@project.add_access(@user, :read)
visit project_path(@project)
@ -28,7 +28,7 @@ describe "Top Panel", :js => true do
end
it "should be on projects page" do
current_path.should == project_commits_path(@project)
current_path.should == project_commits_path(@project)
end
end
end