On Tue, Oct 5, 2010 at 8:03 AM, Matt Darby wrote:
> Hey all, I'm trying to migrate over to Rails3/RSpec2 and I cannot seem
> to get the specing of `render` right. I know there was some changes in
> RSpec2 that affect this, and I was hoping to get a bit of help.
>
> I have this is in a before block
On Wed, Oct 6, 2010 at 12:44 PM, Cyrus wrote:
> how a can test this controller using rspec
>
> #home controller
> def home
> �...@recents = Article.publisheds.with_authorship.paginate(:page => 1,
> :per_page => 10, :total_entries => 10)
> �...@highlight = Article.publisheds.highlight.wit
On Mon, Oct 11, 2010 at 12:05 PM, Mack wrote:
> I'm unable to get nested attributes in fixtures to work with Rspec.
> The models and fixtures function fine outside of rspec, but I get a
> mysql error (Unknown column "_attributes) when running
> tests with the same fixtures.
>
> I am able to get th
On Thu, Oct 7, 2010 at 9:24 AM, ignacy.moryc wrote:
> I want to test a class method that sets some state and then yields a
> block. It looks something like that:
>
> class Cat
> class << self
> def start
> id = get_uuid
> begin
> yield if block_given?
>
I'm unable to get nested attributes in fixtures to work with Rspec.
The models and fixtures function fine outside of rspec, but I get a
mysql error (Unknown column "_attributes) when running
tests with the same fixtures.
I am able to get the specs to run by creating a separate fixture for
the nest
I want to test a class method that sets some state and then yields a
block. It looks something like that:
class Cat
class << self
def start
id = get_uuid
begin
yield if block_given?
ensure
set_some_other_state
end
how a can test this controller using rspec
#home controller
def home
@recents = Article.publisheds.with_authorship.paginate(:page =>
1, :per_page => 10, :total_entries => 10)
@highlight = Article.publisheds.highlight.with_authorship
end
#article model
named_scope :publisheds, lam
Hey all, I'm trying to migrate over to Rails3/RSpec2 and I cannot seem
to get the specing of `render` right. I know there was some changes in
RSpec2 that affect this, and I was hoping to get a bit of help.
I have this is in a before block in a view spec:
view.should render_template("attachments/i
I have the following in my fixtures:
publish_date: <%= DateTime.now.utc - 1.day %>
But 'DateTime.now.utc' always evaluates to my system time. Does anyone
have any ideas?
Thanks,
Russell.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://ru
There is a problem with your choice of subscription type
No other comment? WTF?
W$7 install on Xeno's RI Laptop.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I would be glad to see:
1.Generation of usable Selenium Core Test Suites.
2. Instructions to create a proxy server to run the tests, like
with Selenium Grid or some such thing.
3. Any other thing that allows me to run the Cucumber/RSpec tests
without having to have the ins
What Aslak said. A lot.
Good job indeed.
Cheers,
Dan
On 11 October 2010 16:14, aslak hellesoy wrote:
>
> ## RSpec-2.0.0 has been released!
>>
>>
> David, I'm so impressed how you have managed to manage a half-rewrite,
> updating the RSpec book (which now soon goes to print) and coordinating
>
On Oct 11, 11:14 am, aslak hellesoy wrote:
> > ## RSpec-2.0.0 has been released!
>
> David, I'm so impressed how you have managed to manage a half-rewrite,
> updating the RSpec book (which now soon goes to print) and coordinating
> everything with Rails and the 80+ contributors. The upgrade proc
On 11/10/2010 16:14, aslak hellesoy wrote:
>
> ## RSpec-2.0.0 has been released!
>
>
> David, I'm so impressed how you have managed to manage a half-rewrite,
> updating the RSpec book (which now soon goes to print) and
> coordinating everything with Rails and the 80+ contributors. The
> upgrad
> ## RSpec-2.0.0 has been released!
>
>
David, I'm so impressed how you have managed to manage a half-rewrite,
updating the RSpec book (which now soon goes to print) and coordinating
everything with Rails and the 80+ contributors. The upgrade process has been
extremely simple for me taken into acco
Congrats on reaching this milestone and many thanks to all who
contributed. Your efforts are much appreciated! RSpec2 is a massive
improvement over 1 and I'm really enjoying using it.
Thanks,
James.
On Sunday, October 10, 2010, David Chelimsky wrote:
> ## RSpec-2.0.0 has been released!
>
> This
16 matches
Mail list logo