clean up some fixes
This commit is contained in:
parent
09842c0539
commit
8de1bd8cf0
@ -71,7 +71,9 @@ void Runner::loadSpec()
|
|||||||
outputFiles.enqueue(outputFile);
|
outputFiles.enqueue(outputFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
page.mainFrame()->load(runnerFiles.dequeue());
|
QString runnerFile = runnerFiles.dequeue();
|
||||||
|
|
||||||
|
page.mainFrame()->load(runnerFile);
|
||||||
ticker.start();
|
ticker.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,11 @@ module Jasmine
|
|||||||
|
|
||||||
command += targets.flatten.collect do |target|
|
command += targets.flatten.collect do |target|
|
||||||
target = File.expand_path(target)
|
target = File.expand_path(target)
|
||||||
target = server_uri + target if options[:use_server]
|
if options[:use_server]
|
||||||
|
target = server_uri + target
|
||||||
|
else
|
||||||
|
target = "file://" + target
|
||||||
|
end
|
||||||
target
|
target
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ describe Jasmine::Headless::Runner do
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.it_should_have_basics
|
def self.it_should_have_basics
|
||||||
it { should include(target) }
|
it { should include('file://' + File.expand_path(target)) }
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'colors' do
|
context 'colors' do
|
||||||
|
Loading…
Reference in New Issue
Block a user