Compare commits

...

9 Commits

Author SHA1 Message Date
Bryan Helmkamp 38535d1e0e History 2009-08-29 16:09:19 -04:00
Bryan Helmkamp fa413835e9 Spec giving me trouble -- removing for now 2009-08-29 16:08:30 -04:00
Bryan Helmkamp 6f8a099a68 Merge commit 'djanowski/fix_logger' into 0-5-stable 2009-08-29 16:06:51 -04:00
Bryan Helmkamp 66d60b25f6 Prep fr 0.5.3 release 2009-08-27 01:03:56 -04:00
Bryan Helmkamp 78d892d040 Version bump to 0.5.2 2009-08-27 00:59:37 -04:00
Bryan Helmkamp 91eb6f8ce4 Need to add require to spec dir now 2009-08-27 00:56:39 -04:00
Bryan Helmkamp 0ad8cdf478 History 2009-08-27 00:55:45 -04:00
Bryan Helmkamp e27986e43e Remove unnecessary requires which are to the wrong paths on Edge Rails 2009-08-26 23:19:19 -04:00
Damian Janowski 4a949e0e5a Fix logger issue when running inside Cucumber. 2009-08-14 13:05:20 -03:00
7 changed files with 19 additions and 21 deletions

View File

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

View File

@ -1 +1 @@
0.5.1 0.5.3

View File

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

View File

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

View File

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

View File

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

View File

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