ocking scenarios, consider
abstracting this logic into your model:
http://blog.caboo.se/articles/2007/6/19/rspec-notes-from-the-trenches-2
--
Josh Knowles
[EMAIL PROTECTED]
http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.or
On 10/26/08, Mark Thomson <[EMAIL PROTECTED]> wrote:
> Google has just led me here: http://webrat.rubyforge.org/.
Please make sure you view http://github.com/brynary/webrat/tree/master
for the latest code as things change much faster they they get pushed
up to RubyForge.
--
Josh Know
On Fri, Nov 7, 2008 at 9:24 AM, aidy lewis <[EMAIL PROTECTED]> wrote:
> The customer is not happy about writing Stories in a text editor.
>
> Has anyone else experienced this? Is anyone using a wiki, spreadsheet,
> or word document and automatically converting to a text file?
As Aslak mentioned th
you'll know you have new work to
> do.
cruisecontrol.rb already takes care of this for you.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
ed, as opposed to breaking the build. We have the
luxury of all being in the same room, so we try and communicate if
there are any questions or concerns on the changes that they are
making.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http:
rects are handled in Rails away from
the _with_redirect style in my webrat fork
(http://github.com/joshknowles/webrat) which may make your work
easier.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspe
ebrat gem up on RubyForge. We're going to
release a new gem in the next few days, in the mean time feel free to
grab the source off github.com/brynary/webrat where it is fixed.
--
Josh Knowles
phone: 509-979-1593
email: joshknow...@gmail.com
web:http://j
;
> 3) Seed your database in your support files. For static data that will be
> used over and over again you can save time by only inserting it once in your
> DB at the start of the run. For example in env.rb you could say:
4) Distribute y
On Mon, Dec 29, 2008 at 7:20 AM, David Chelimsky wrote:
> I don't see any specs for the rspec-on-rails-matchers library on
> github, and no activity in 9 months, so I'm guessing that it is
> incomplete/no longer being maintained.
>
> Josh Knowles, if you're rea
ry:
field_labeled("Email Confirmation").value.should be_nil
--
Josh Knowles
phone: 509-979-1593
email: joshknow...@gmail.com
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
etc. so that I
can try and track it down.
Thanks.
Josh
--
Josh Knowles
phone: 509-979-1593
email: joshknow...@gmail.com
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
nd we'll get it
fixed. Even better would be a patch which includes a failing
integration test :-)
--
Josh Knowles
phone: 509-979-1593
email: joshknow...@gmail.com
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyf
nis/webrat/tree/make_current_url_fully_qualified-4.1
I will dig more into this over the weekend.
--
Josh Knowles
phone: 509-979-1593
email: joshknow...@gmail.com
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http:
ot;config.include..." were only available to my model
spec and not to my controller specs.
Thanks for tracking this down!
--
Josh Knowles
phone: 509-979-1593
email: joshknow...@gmail.com
web:http://joshknowles.com
___
rspec-users mailing list
rs
On Mon, Feb 16, 2009 at 5:28 PM, David Chelimsky wrote:
> The latest gems from github work with rails 2.3:
The problem is in Webrat. I have a hack in my fork, but we need to
figure out a longer-term solution. Bug is open, hopefully we can
knock it out this week. Patches welcome.
--
J
On Wed, Feb 25, 2009 at 5:52 AM, aidy lewis wrote:
> Hi,
>
> When we create step defintions. For example:
>
> When /^that data is loaded$/ do
>
> end
Are you familiar with the "pending" method?
i.e.
When /^that data is loaded$/
pending
end
___
rspe
.. Any others out there?
We (weplay) use Testjour on a daily basis. That said, its a bit
temperamental and requires a bit of effort to get it up and running.
I'd love to see more adoption, and am happy to work with whomever is
interested on making it easier to get up and running.
--
Josh Knowl
ersonally I try and stay away from step-matchers based on URLs. Do
you really care about what page you're on?
I would instead check the response for the "Thank you for posting" or
whatever message that you're probably showing.
If however you want to check the page, do something l
On 10/17/07, John Long <[EMAIL PROTECTED]> wrote:
> I just updated the README. It gives a better overview of the Scenarios
> plugin now:
>
> http://faithfulcode.rubyforge.org/svn/plugins/trunk/scenarios/README
Has anyone got this to work with Edge Rails/Rspec? I'm getting the
following stack tra
On 10/26/07, Josh Knowles <[EMAIL PROTECTED]> wrote:
> Has anyone got this to work with Edge Rails/Rspec? I'm getting the
> following stack trace when I try and execute my specs after installing
> the plugin:
FYI I got this to work by removing the reference to ExampleModu
On 10/26/07, Steve <[EMAIL PROTECTED]> wrote:
>
> I'm running from trunk, and don't have the gem installed. How is
> autotesting enabled? Is it a special switch passed to 'spec' or
> 'spec_server'?
gem install ZenTest
cd RAILS_ROOT
autotest
___
rspec-use
Has anyone noticed any problems with the Rails story runner returning
a response code of "0" when doing get/post/etc methods? I just
grabbed the latest rails/rspec and just started noticing this problem,
http://pastie.caboo.se/117497
Regular controller specs pass as expected.
t was overwriting url_for which wasn't
getting properly propagated up.
Sorry for the noise.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http:/
On 11/13/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> No worries - what do you think about treating controllers the same way
> in stories that we do in controller examples?
I think that makes sense. Currently you have to view the test.log
file to see the exceptions, I'd like to see these re-r
ring up a fresh environment over the weekend and
give it another shot.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
are failing
with the same error.
This works:
response.success?.should == true
This doesn't:
response.should be_success
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mailing list
rspec
On 11/26/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> Again - I'll look at this tonight and get it working.
http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/147-patch-allow-stories-to-use-spec-matchers
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED
ed.
Feel free to roll your own, I wrote a simple one that just calls all.rb.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
und at http://code.google.com/p/rspec-on-rails-matchers/.
Feel free to submit a patch if we're missing something that you'd
like.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mail
to shoulda's?
Yes. If you work something up I'd happily add it. Unfortunately I
don't have the need/time/desire to do it myself right now though.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
.. I'll take a look at it tonight and get it fixed.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
pec-on-rails-matchers/tree/master).
Finally finding some time to integrate the many wonderful patches from
folks over the last month or so.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mailing li
Rspec has a bug
> 3. Rails has a bug
>
> Any ideas?
We can look at getting webrat to recognize the redirect to file
outside the scope of the rails environment. Patches always welcome of
course.
- Josh
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://jos
ting to move logic back into view specs.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
he integration tools where appropriate, but
don't overuse without expecting some decrease in performance.
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
ve had to hack together. Having some
standardization for running a single scenario, or all scenarios, would
make developing tools on-top of the framework that much easier.
Josh
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://j
freaks.com/02-joe-obrien-and-jim-weirich-mock-dialogue.html
--
Josh Knowles
phone: 509-979-1593
email: [EMAIL PROTECTED]
web:http://joshknowles.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
37 matches
Mail list logo