Compare commits
9 Commits
master
...
0-5-stable
Author | SHA1 | Date | |
---|---|---|---|
|
38535d1e0e | ||
|
fa413835e9 | ||
|
6f8a099a68 | ||
|
66d60b25f6 | ||
|
78d892d040 | ||
|
91eb6f8ce4 | ||
|
0ad8cdf478 | ||
|
e27986e43e | ||
|
4a949e0e5a |
12
History.txt
12
History.txt
@ -1,3 +1,15 @@
|
|||||||
|
== Git
|
||||||
|
|
||||||
|
* Bug fixes
|
||||||
|
|
||||||
|
* Fix logger issue when running inside Cucumber (Damian Janowski)
|
||||||
|
|
||||||
|
== 0.5.3 / 2009-08-27
|
||||||
|
|
||||||
|
* Minor enhancements
|
||||||
|
|
||||||
|
* Remove unnecessary requires which are to the wrong paths on Edge Rails
|
||||||
|
|
||||||
== 0.5.1 / 2009-08-18
|
== 0.5.1 / 2009-08-18
|
||||||
|
|
||||||
* Minor enhancements
|
* Minor enhancements
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
require "logger"
|
||||||
|
|
||||||
module Webrat
|
module Webrat
|
||||||
module Logging #:nodoc:
|
module Logging #:nodoc:
|
||||||
|
|
||||||
@ -13,10 +15,7 @@ module Webrat
|
|||||||
when :merb
|
when :merb
|
||||||
Merb.logger
|
Merb.logger
|
||||||
else
|
else
|
||||||
@logger ||= begin
|
@logger ||= ::Logger.new("webrat.log")
|
||||||
require "logger"
|
|
||||||
::Logger.new("webrat.log")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
require "webrat"
|
require "webrat"
|
||||||
|
|
||||||
require "action_controller"
|
|
||||||
require "action_controller/integration"
|
|
||||||
require "action_controller/record_identifier"
|
|
||||||
|
|
||||||
module Webrat
|
module Webrat
|
||||||
class RailsAdapter #:nodoc:
|
class RailsAdapter #:nodoc:
|
||||||
include ActionController::RecordIdentifier
|
include ActionController::RecordIdentifier
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
|
|
||||||
|
|
||||||
describe Webrat::Logging do
|
|
||||||
|
|
||||||
it "should not log if there is no logger" do
|
|
||||||
klass = Class.new
|
|
||||||
klass.send(:include, Webrat::Logging)
|
|
||||||
klass.new.debug_log "Testing"
|
|
||||||
end
|
|
||||||
end
|
|
@ -1,5 +1,6 @@
|
|||||||
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
|
||||||
|
|
||||||
|
require "action_controller"
|
||||||
require "webrat/rails"
|
require "webrat/rails"
|
||||||
|
|
||||||
describe Webrat::RailsAdapter do
|
describe Webrat::RailsAdapter do
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = %q{webrat}
|
s.name = %q{webrat}
|
||||||
s.version = "0.5.1"
|
s.version = "0.5.3"
|
||||||
|
|
||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
s.authors = ["Bryan Helmkamp"]
|
s.authors = ["Bryan Helmkamp"]
|
||||||
s.date = %q{2009-08-18}
|
s.date = %q{2009-08-27}
|
||||||
s.description = %q{Webrat lets you quickly write expressive and robust acceptance tests
|
s.description = %q{Webrat lets you quickly write expressive and robust acceptance tests
|
||||||
for a Ruby web application. It supports simulating a browser inside
|
for a Ruby web application. It supports simulating a browser inside
|
||||||
a Ruby process to avoid the performance hit and browser dependency of
|
a Ruby process to avoid the performance hit and browser dependency of
|
||||||
|
Loading…
Reference in New Issue
Block a user