On Wed, Mar 11, 2009 at 1:40 PM, David Schmidt wrote:
>
> Has anyone else run into this problem and come up with a solution to getting
> a fixed time back from Time.zone.now?
This plugin has worked very well for me:
http://github.com/notahat/time_travel/tree/master
--
Have Fun,
Steve Eley (
On 11 Mar 2009, at 19:46, Zach Dennis wrote:
On Wed, Mar 11, 2009 at 3:03 PM, Balint Erdi
wrote:
Hi,
I was looking for some "real-world" cucumber features (mainly on
github)
to see how more complex features are built but I have not really
found
any. Could you point me to some?
What k
That did the trick. Thanks Aslak! Took a little while to figure out
where it was in the Scenario object but it was pretty straight forward
from there.
T
On Wed, Mar 11, 2009 at 10:21 AM, aslak hellesoy
wrote:
>
>
> On Wed, Mar 11, 2009 at 4:12 PM, Tim Walker wrote:
>>
>> Hi Guys,
>>
>> If I am
+1
I'm also looking for examples... I've seen several
authentication-related ones, but very few examples of features that
users would actually care a lot about, and that would help in learning
outside-in development...
2009/3/11 Andrew Premdas :
> You could have a look at fbrp on github, which has
At 20:03 +0100 3/11/09, Balint Erdi wrote:
> I was looking for some "real-world" cucumber features (mainly
> on github) to see how more complex features are built but I
> have not really found any. Could you point me to some?
I asked about this on #github. Lenary helped out massively.
Procedure
The key phrase is semantic meaning. Its good to use CSS to give semantic
meaning to things that appear on web pages. Not only can these id's or
classes be useful for using with screen readers, they should be stable
things that don't change even if the design of the page does. It should be
easy to s
You could have a look at fbrp on github, which has rewritten features for
RestfulAuthentication. Hopefully its a reasonably gentle introduction and at
least a bit real world.
2009/3/11 Balint Erdi
> Hi,
>
> I was looking for some "real-world" cucumber features (mainly on github)
> to see how mo
On Wed, Mar 11, 2009 at 3:03 PM, Balint Erdi wrote:
> Hi,
>
> I was looking for some "real-world" cucumber features (mainly on github)
> to see how more complex features are built but I have not really found
> any. Could you point me to some?
For seeing different ways to utilize scenarios and ste
Hi,
I was looking for some "real-world" cucumber features (mainly on github)
to see how more complex features are built but I have not really found
any. Could you point me to some?
Thank you,
Balint
--
Posted via http://www.ruby-forum.com/.
___
rspec-u
Hey,
I have the following simple scenario and the step definitions:
Scenario: Create album
Given I am logged in as "pepito"
When I go to my profile page
...
Given /^the user (.*) exists$/ do |login_name|
User.find_by_login(login_name) || Factory(:user_with_password, :login
=> login_name)
I am writing a library module to handle certain StatementInvalid type AR
exceptions. I wish to catch the case where the db adapter in use is not
supported by the module. I would like to test this situation and have
only a vague idea as to how to proceed.
My exception handling method selects the
On Wed, Mar 11, 2009 at 12:40 PM, David Schmidt wrote:
> Our application has some code to schedule recurring tasks, with code to skip
> holidays and weekends.
>
> In order to test the schedule model we need to have a fixed time returned
> when the model is run so that the tests will run the same n
Our application has some code to schedule recurring tasks, with code
to skip holidays and weekends.
In order to test the schedule model we need to have a fixed time
returned when the model is run so that the tests will run the same no
matter what day they are run. (The first set of tests w
On Wed, Mar 11, 2009 at 4:12 PM, Tim Walker wrote:
> Hi Guys,
>
> If I am generating diagnostics from a before do step can I get the
> name of the scenario?
>
This is implemented in 0.1.99.x:
http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/44
Aslak
>
> Many thanks,
>
> Tim
> __
Hi Guys,
If I am generating diagnostics from a before do step can I get the
name of the scenario?
Many thanks,
Tim
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Thanks a lot David, my question was 'how' they are for free. That
explains why I didn't find it in the rspec-rails sourcecode.
Cheers
Andi
On Mar 11, 2:39 pm, David Chelimsky wrote:
> On Wed, Mar 11, 2009 at 3:30 AM, Andi Schacke
>
> wrote:
> > Hi,
>
> > how is it possible that I can use the re
On Mar 11, 2009, at 4:30 AM, Andi Schacke wrote:
Hi,
how is it possible that I can use the restful routes helpers (e.g.
new_user_path) in controller specs? I browsed the source code but I
couldn't find the magic. I'm just curious and would appreciate any
hint...
thanks
Andi
__
On Wed, Mar 11, 2009 at 3:30 AM, Andi Schacke
wrote:
> Hi,
>
> how is it possible that I can use the restful routes helpers (e.g.
> new_user_path) in controller specs? I browsed the source code but I
> couldn't find the magic. I'm just curious and would appreciate any
> hint...
If you're asking h
Hi,
how is it possible that I can use the restful routes helpers (e.g.
new_user_path) in controller specs? I browsed the source code but I
couldn't find the magic. I'm just curious and would appreciate any
hint...
thanks
Andi
___
rspec-users mailing lis
19 matches
Mail list logo