Skip to content

Commit

Permalink
Move the web ui down a level in the directories, first step to make i…
Browse files Browse the repository at this point in the history
…t the 'required' UI [integrity#19]
  • Loading branch information
foca committed Jul 26, 2008
1 parent 638f9fb commit d775d16
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/integrity
Expand Up @@ -2,4 +2,4 @@
require File.dirname(__FILE__) + "/../lib/integrity"
require "sinatra"

load File.dirname(__FILE__) + "/../lib/integrity/ui/web.rb"
load File.dirname(__FILE__) + "/../lib/integrity/ui.rb"
6 changes: 3 additions & 3 deletions lib/integrity/ui/web.rb → lib/integrity/ui.rb
@@ -1,8 +1,8 @@
require "authorization"

set :root, Integrity.root / "lib/integrity/ui/web"
set :public, Integrity.root / "lib/integrity/ui/web/public"
set :views, Integrity.root / "lib/integrity/ui/web/views"
set :root, Integrity.root / "lib/integrity/ui"
set :public, Integrity.root / "lib/integrity/ui/public"
set :views, Integrity.root / "lib/integrity/ui/views"

enable :sessions

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions spec/ui/web_spec.rb → spec/ui_spec.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require File.dirname(__FILE__) + '/spec_helper'

describe 'Web UI using Sinatra' do
def mock_project(messages={})
Expand Down Expand Up @@ -48,7 +48,7 @@ def provide_valid_credentials!

before(:each) do
Integrity.stub!(:new)
require File.dirname(__FILE__) + '/../../lib/integrity/ui/web'
require File.dirname(__FILE__) + '/../lib/integrity/ui'
end

after(:each) { @project = nil }
Expand Down

0 comments on commit d775d16

Please sign in to comment.