Displaying 20 results from an estimated 4000 matches similar to: "Using has_selector to identify responses."
2005 Dec 23
1
Emails that get sent out on various site actions
Hi,
I have a list of various "events" that emails should be sent out on.
Example: user registers with site, or a user takes a test.
And I want the admin user to be able to configure what email addresses
should receieve the emails that get sent out on the events. Example:
joe-TIA8ZjFfG1I@public.gmane.org and jane-+LBmYUDmh58@public.gmane.org get an email when a user registers, and
2010 Sep 01
2
Undefined methods: has_selector? and flunk
I''m in the process of updating an app for Rails 3.0 and rspec-rails
2.0.0.beta20. When I''m running my specs (rake spec) I get a large number
of errors caused by two undefined methods
undefined method `has_selector?'' for #<String:0x7fdbd0b5b270>
undefined method `flunk'' for
2005 Aug 10
24
Multilingual Rails v0.5. Big update!
Multilingual Rails v0.5 is just released with lots of new features.
Here is the changelog:
v0.5: New charset conversion string-methods. Multilingual Rails
always use UTF-8 internally.
iconv_to(charset) # Return string as charset
iconv_from(charset) # Return string as UTF-8, converted
from charset
iconv_from!(charset) # Convert string from charset to UTF-8
2006 Apr 01
15
Ruby on Rails CMS released. Web 2.0, Ajax, etc
Eribium, a content managing system built with rails has been released
completely free under the MIT License.
http://www.eribium.org/eribium/?p=21
You can find a demo here: http://alexmaccaw.no-ip.info:3000/admin
(user and pass are ''demo'').
Some of the features include:
* Completely Unobtrusive Javascript.
* Liquid View, works with pretty much any screen resolution.
2009 Jan 20
6
[Cucumber, Merb, Webrat] undefined method ''response'' for Merb::Test::World::Webrat
Hello!
I get the following error everytime I try to check the result of previous
step (by the way, I use default result_steps.rb):
undefined local variable or method `response'' for
#<Merb::Test::World::Webrat:0x7f083c7860b8> (NameError)
./features/steps/result_steps.rb:14:in ` /^the (.*) ?request should fail/''
features/authentication/login.feature:17:in `/^the (.*)
2012 Jun 14
3
response.should have_content("1 movie") does not seem to work for me
Hey everybody
I have worked quite to near the end of The RSpec Book, but now I''m
having some troubles.
I''m trying to get the last few Cucumber steps to work, which are:
Then /^Caddyshack should be in the Comedy genre$/ do
visit genres_path
click_link "Comedy"
save_and_open_page
response.should have_content("1 movie")
response.should
2003 Dec 02
2
Multilingual version of DIAX
Hi all,
The multilingual version of DIAX with both IAX and IAX2 support will be
available for download later today or tommorrow.
If someone interested to help me traslate from English to one of the
following languages (ant not oly) please drop me a direct mail.
- italian
- spanish
- french
- portuguese
In this moment the following are done:
- english
- romanian
- german
- dutch
If this can be
2005 Aug 13
9
Multilingual Rails v0.6
Multilingual Rails v0.6 is released!
Here is the changelog. Documentation and download at the homepage:
http://www.tuxsoft.se/oss/rails/multilingual
v0.6 - 2005-08-13
* String case-manipulation functions replaced with ruby-unicode
equivalents (if ruby-unicode is installed):
String#downcase, String#upcase and String#capitalize now fully
handle Unicode.
* String normalization
2009 Apr 26
9
Problems running features with Textmate Cucumber bundle
I finally plunked down for the beta RSpec bundle and I''m working
through the initial example. Although I''m a fairly experienced RSpec
user, I''m stlll learning new tricks.
Anyway, I''m going though the mastermind example, and everything is
going well, except that I decided to also try out the Textmate bundle
for Cucumber. I decided to use Ben Mabey''s
2009 Mar 31
7
[Cucumber] Running single feature from command line
I am using Cucumber 0.2.3 and am having problems running a single
feature. In particular, the cucumber Textmate bundle was not working
so I traced it back and discovered that I could not run single files
or features from the command line either. My setup has the following
line in cucumber.yml
default: -r features/support/env.rb -r features/support/plain.rb -r
features/steps
2009 Apr 27
2
uninitialized constant ActionController running Cucumber features in Aptana/RadRails IDE
I''m just starting on BDD. I installed the gems for webrats and
cucumber.
I also ran the following in the Ruby shell:
>rake gems:install RAILS_EN=test
>script/generate cucumber
These commands seemed to create the expected features and lib folders
in my project.
I''m using the eclipse framework with Aptana and RadRails as my IDE.
However, when I run:
>cucumber features
2009 Mar 19
6
[Cucumber 0.2] Failure to use should
I have a step definition like this:
Then "the account should be created" do
account = Account.find_by_name("my shiny new account")
p account.class
account.should_not be_blank
end
When running this step, I got the error message:
Account(id: integer, name: string, state: string, next_renewal_at: date,
created_at: datetime, updated_at: datetime, full_domain: string,
2006 May 03
6
ruby on rails international & BIRT integration?
Hello,
I see, that Rails is quite english-centric. I am developing some webs,
that are not primarily in English. I have a few questions:
- besides turning of plurals, what should I take care? How to use utf-8
for all data and converting it from local charsets to utf-8?
- how do I make my page multilingual (i.e. adding english support
later)? Is there something like gettext support? Is
2009 Feb 25
5
[Cucumber] pretty html output?
Cucumberists (and RSpec Classic users ;):
How can we convert a Cucumber feature file into HTML with syntax highlighting?
Not the test-runner output; that''s preprocessed so it does not match the input
file...
Tx!
--
Phlip
2008 Dec 02
4
Using Cucumber with latest Webrat
I added cucumber to my rails project using the following commands:
git submodule add git://github.com/aslakhellesoy/cucumber.git \
vendor/plugins/cucumber
ruby script/generate cucumber
git submodule add git://github.com/brynary/webrat.git \
vendor/plugins/webrat
git submodule add git://github.com/dchelimsky/rspec.git \
vendor/plugins/rspec
git submodule add
2009 Nov 18
1
undefined method `register' for Polyglot:Module
Getting this error. I have the treetop, polyglot, and rspec libraries
in the load_path (not installed as a gem). Any ideas? What defines
the register method?
/home/jvandyk/dev/web/wpn_rails/../../rcommon/lib/test/treetop/lib/treetop.rb:16:
undefined method `register'' for Polyglot:Module (NoMethodError)
from
2008 Sep 29
3
rspec-ui overlap with cucumber?
Hi!
I''m using cucumber + selenium and I love it. However I''m looking to
add some methods (example: click_and_wait etc) to the lib. Therefore
looked around a bit and I got two questions:
Firstly about rspec-ui, I''m a little confused, does rspec-ui overlap
with its propose with webrat with cucumber or I''m missing a point?
Secondly, are there any plans to
2010 Sep 27
3
having some issues with factory_girl and bundler...
Hi All
Need some brilliants minds here :)
I''m using Rails 2.3.8 & ruby 1.8 (I know, I know... )
I''ve move my gems from .gems to Bundler, but I''m having some issues with
Factory_girl when I rake spec
"uninitialized constant Factory"
I''m following the instructions from http://gembundler.com/rails23.html.
Basically:
- grab all config.gem and place
2008 Dec 03
3
Intermittent Cucumber exception
Hi
Anyone recognise this exception, and know what causes it to happen
occasionally?
Thanks
Ashley
Scenario: new story appears on
feed # features/descriptions/
story_notification.feature:12
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/cucumber/
broadcaster.rb:15:in `write'': Bad file descriptor (Errno::EBADF)
from
2009 Feb 06
6
RecordNotFound bubbling thru to cucumber
Hello,
I have a controller action that raises a RecordNotFound exception if
you''re not allowed to see something. In my global application
controller (application.rb), I catch these and render the 404
template. But when I run cucumber (using webrat), it''s getting the
full stacktrace (the step blows up). Any ideas why? I have
consider_all_requests_local turned off in my test.rb.