et Teacher1 ", but it delievered from
nil
Any insight you can provide would be greatly appreciated.
Best,
Tom
Tom Hoen
edgevale/interactive
th...@edgevaleinteractive.com
ClassroomParent
th...@classroomparent.com
410-215-0905
My site allows users to change the backround color (among other things) for
their page. These values are stored in database.
Their choices (or the default) are placed on the page using a block
at the end of the block in the layout. Here is what the style block
looks like.
<% if !!
Tim Harper wrote:
> There is no voting love on the windows feature request:
>
> http://github.com/timcharper/spork/issues
> :)
I tried to vote a +1, but get this after clicking the Comment button:
There was a problem serving the requested page.
Now you're wondering, "what can I do about i
Tom Hoen wrote:
In order to suss out what might be cause, i modified the remove_constant
method in the LoadingModule class
'\ruby\lib\ruby\gems\1.8\gems\activesupport-2.3.2\lib\active_support\dependencies.rb',
adding in begin/rescue/end statements.
def remove_constant(cons
David - Thank you for responding.
>
> Previously to what? What changed?
>
The only changes were some additional models/controllers and specs for
both, and I installed and used (in one of the models) open_ssl. My plan
it to revert until I find a point at which things start to work again,
u
I am sure better minds than mine can figure this out, but I am stumped.
When I run any spec using spec_server, a get 0 failures and the command
prompt returns without issue.
If I run the same spec again, I still get 0 failures, but it concludes
with the following error:
(druby://127.0.0.1:8989)
When running autotest with AUTOFEATURE=true, all of my specs and
features run fine.
However, if I have a feature containing a scenario that fails, autotest
lists that feature, but then returns "0 scenarios", and then runs all of
the features again.
Any idea why this might be?
Best,
Tom
--
Poste
Joseph Wilk wrote:
> I would highly recommend you take a look at Celerity
> (http://celerity.rubyforge.org/) as well.
Celerity (and Culerity) look great, but after trying for a half a day, I
could not get jruby to build, so could not install Celerity, so I am
back to Selenium.
I followed the in
Pat Maddox wrote:
> You have to go through the browser, using something like selenium
> (which can be driven by cucumber)
>
> Pat
Since I only have this one little widget on the page, I was hoping to
avoid selenium for now, but alas. Will give it a go.
Thanks for your thoughts.
Tom
--
Posted v
Is there way in Cucumber to enable a field or submit button that was
disabled by default (:disable => true). I have a submit button which is
enabled using javascript and would like to test the page using Cucumber.
Thanks for your advice,
Tom
--
Posted via http://www.ruby-forum.com/.
_
Zach Dennis wrote:
>
> Correction -- I believe his problem forces the problem in my ticket to
> be solved. I don't know if my patch solves his problem.
>
Zach - Thanks for the quick patch
I grabbed your code, but it did not solve the problem. Here is what I am
seeing.
When fully_qualify_curr
Zach Dennis wrote:
>
> Were you using one of my branches, and was it working for you?
>
> I just pulled down the latest webrat and installed it on a project
> that uses subdomains, and all of the features are still passing.
Zach -
I was using this fork:
http://github.com/zdennis/webrat/tree/m
Bart Zonneveld wrote:
> Using version 0.4.1, I can succesfully set hidden field using
> set_hidden_field.
>
Bart - Thanks for the heads up that 4.1 was released and contained the
set_hidden_field method.
I have updated my webrat plugin to 4.1, but unfortunately, sub-domain
redirects seem to b
With the great help of David C., Scott T., and Dennis Z., redirecting
while using a sub-domain worked in Dennis' fork:
git://github.com/zdennis/webrat.git.
Unfortunately, after upgrading to 4.1 (so I could use set_hidden_field),
I am getting responses of "You are being redirected" instead of getti
I am using auto_complete to provide a list of persons from which the
user can select one. On selection from the auto_complete list, a hidden
field is updated with the id of the selected person. This is all wrapped
in a form, that then can be submitted by the user (by clicking the
provided submit bu
I was able to download the zip file and lo...the tests ran.
Thanks for all your help!
Tom
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Scott Taylor wrote:
>
> git clone git://github.com/zdennis/webrat.git
I am sorry to be a pain, but i get the following error.
Initialize webrat/.git
Initialized empty Git repository in
c:/projects/pospaw/vendor/plugins/webrat/.git/
fatal: read error (Invalid argument)
Tom
--
Posted via http
Zach Dennis wrote:
>
> This will probably still break in webrat HEAD, I am using this branch
> right now which includes a fix that is not in HEAD (it's waiting to be
> merged, or for another solution to take effect):
>http://github.com/zdennis/webrat/tree/make_current_url_fully_qualified
I
Josh -
I used "git clone git://github.com/brynary/webrat.git". Should I have
used a different repo?
First, I set up the host with my subdomain
host! "rpems.test"
Then the steps for the admin login:
visit "/login"
fill_in("login", :with => "admin")
fill_in("password", :with => "test")
>
> There are a number of fixes for redirects and subdomain related
> functionality which are currently tagged for the 0.4.1 release. I had
> this problem after upgrading to 0.4.0, and have since updated to edge
> until 0.4.1 is out.
>
Thanks Zach
I installed the edge code (at least I believe
Tom Hoen wrote:
> Appears that I did not fully remove the webrat plugin, and this was
> causing the problem.
>
> Thanks again for your help.
Perhaps I should request this in a new topic, but it could be another
simple mistake I am making.
I have the following scenario
Scenario: L
Appears that I did not fully remove the webrat plugin, and this was
causing the problem.
Thanks again for your help.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo
Hey Matt -
> I should update to the new version of webrat (0.4) and cucumber (can't
> remember) as this stuff has gone through some churn but stabilised
> following that 0.4 release.
>
> Check the webrat docs, but (with that new version) I think you need to
> do something like
>
> Webrat.configu
I am sure it is just a configuration issue, but when I use any of the
steps in the webrat_steps.rb file, I get messages like:
undefined method `click_link'
I have the webrat gem installed (0.3.4). I have the aslakhellesoy-webrat
(0.3.2.2) gem installed, and I have the webrat plugin installed.
I
Jonathan Linowes wrote:
> I do:
>
> host! "#{account.to_param}.example.com"
>
> --linoj
linoj - thanks for the info. Where do you put this?
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyfo
Matt Wynne wrote:
>
> Are we on rails here, or something else? You might be better asking on
> the webrat list (google group - check the webrat readme for details)
> or IRC, to be honest.
>
Thanks Matt, I will send a message to the webrat group. It is rails, so
I have the same issue with view
My site uses sub-domains to create a context for the user. In my tests,
I need to stipulate what domain is being used, to test whether the
context is correct for the given user.
But I cannot find if and where i can change the request.host value, if
indeed, that is what I need to change.
When I sa
Just trying to get cucumber/webrat going and so after following the
installation process here
http://wiki.github.com/aslakhellesoy/cucumber/ruby-on-rails i wrote a
quick feature and when I rake features, I get the following in the
console:
c:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/active
James Byrne wrote:
>
> What are the contents of features/support/env.rb? Do you have something
> like this in there?
>
> # If webrat is a gem then uncomment this
> require 'webrat' if !defined?(Webrat)
>
> # If webrat is a plugin then uncomment this
> #require 'webrat/rails'
Though there isn
>
> To get this to work you'll have to either use real records (with IDs)
> or stub whatever it is that is supplying the Relative and then expect
> with(the_relative_you_supply_as_a_stub_value).
>
> Make sense?
In part, but not 100%. Here is the code from the controller. Since all
objects are
I am trying to spec a controller that sets up a page to add two
instances of an object to another (many to many :through).
In my controller_spec, I have the following statements:
Student.should_receive(:new).and_return(mock_student)
mock_student.should_receive(:relatives).twice
31 matches
Mail list logo