Displaying 20 results from an estimated 30000 matches similar to: "acts_as_authenticated plugin rspecs"
2007 Feb 16
0
rspec-ext 0.0.1
Hello,
I''ve just released rspec-ext 0.0.1 (http://rubyforge.org/projects/
rspec-ext/)
It is gem-installable (rspec-ext gem)
It is simply two _experimental_ (and may be not well tested)
extensions of rspec as for now:
* specify_negatively (http://rashkovskii.com/articles/2007/1/25/rspec-
specify_negatively, http://rashkovskii.com/articles/2007/2/3/
specify_negatively-updated)
*
2007 Jan 25
0
specify_negatively
Hello,
I have played a bit on a negative specification idea:
http://rashkovskii.com/articles/2007/1/25/rspec-specify_negatively
What do you think about it?
Yurii Rashkovskii
Technology Director
Railsware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070125/12c4f473/attachment.html
2007 Sep 21
11
given_it
Hello,
Just decided to check whether I am doing something that makes sense
or not. I was thinking about how cool would it be to re-use examples
(just like we reuse story scenarios with GivenScenario). I was not
sure if this possibility already exists in rspec (and, honestly, was
lazy to check), so I have created this helper:
def given_it(name)
example_definition =
2007 Mar 27
1
Aspects
I''ve become very fond of Yurii Rashkovskii''s "aspects". For such a
simple change they make it a LOT easier to navigate, read and verify
specs. Are there any plans to include something like this in RSpec?
Ashley
2007 Jul 26
6
response.should_not redirect_to
Hey,
May be it is just too deep night over here and I''m missing something
though I got this failure on {{{response.should_not redirect_to}}}:
''QueuesController should allow authenticated user to access ''show''''
FAILED
Matcher does not support should_not.
See Spec::Matchers for more information
about matchers.
Also I''ve found this in
2007 May 02
13
RSpec 0.8.2 pain, missing spec/rails?
Hi. I''m upgrading a project from an 0.8.0 pre-release gem to 0.8.2.
I''ve installed the 0.8.2 gem, and the rspec_on_rails 0.8.2 plugin:
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_8_2/rspec
When I try to run my specs though, I get the below error. It''s as if the
spec_helper cannot find "spec/rails". I''ve noticed that
2006 May 16
0
acts_as_authenticated vs. login_engine
which to use? we''re not doing anyting too fancy, though that may change -- we
might need rbac in the future. i''m using loging_engine right now, pretty
happily, but i came across a blog entry that claims acts_as_authenticated is
the latest and greatest. if anyone has some pros and cons to share, i''d
appreciate it -- would like to make the correct choice before we launch
2006 Mar 08
8
Acts_as_authenticated plugin?
Hi,
I''ve just downloaded the acts_as_authenticated plugin but I can''t find much
in the way of documentation.
First is there anywhere that someone could point me to to get a handle on
this.
Second.. Does the plugin still require the use of generators to use?
Thanx in advance
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 28
2
["acts_as_authenticated"] << "Role-Based Authorization Rails Recipe"
hi guys,
has anyone here implemented role based authorization from rails recipes
into acts_as_authenticated ? how''s it going?
Case:
there is ONE admin. And MANY users. Admin is the only one who can
create, edit, delete user, etc.. users also need to login, but go to
different pages. do you guys think it''s good to try rick''s
acts_as_authenticated + chad''s
2007 Aug 11
2
Rspec and acl_system2 plugin
Hello,
I''m trying to spec a Rails application using the couple
restful_authentication/acl_system2 plugins.
In my admin layout, I put the following code :
<% restrict_to "admin" do -%>
<ul id="admin-tabs">
<li> /users Users management </li>
</ul>
<% end -%>
Then in my spec file
2007 Feb 28
4
acts_as_authenticated error with Object#id
I''m getting this when I run my Rails controller specs.
<projectroot>/config/../lib/authenticated_system.rb:16: warning: Object#id
will be deprecated; use Object#object_id
I added "include AuthenticatedTestHelper" to /spec/spec_helper.rb so
that my controller tests^H^H^H^H^Hspecs can use the "login_as" helper
method. Anyone know how to fix this?
--
Cheers,
2012 Jun 08
1
Rspec include paths
''m using rspec 2.10 with Rails 3.2.1 and have problems with classes not
being found.
I have put a class called DbTasks under a dir app/util. Under spec, i''ve
created file util/db_tasks_spec.rb which runs afer i included the line:
require File.join(File.dirname(FILE), ''../../app/util/db_tasks'')
However, rspec now isn''t able to find my models. I
2007 Sep 11
2
acts_as_authenticated redirect on ajax requests
Hi there,
I''d like to know if there is a solution to the scenario when using
acts_as_authenticated and ajax:
I have an action in my controller which is protected by login via
acts_as_authenticated. Now, this action can be called both by human
interaction, as well as ajax requests. (It is an add to cart link). It
works great as long as I am in an authenticated session.
Now, I want to
2006 Apr 12
3
acts_as_authenticated trouble
First off, I''d like to address that I''m n00bs.
I''ve read the README and blogs associated with this plugin, and there
really isn''t too much documentation. I have the newest version of
rails,ruby, and acts_as_authenticated installed.
#The setup
I set up the acts_as_authenticated in the following manner.
*created a table called "accounts" in the
2006 Dec 23
2
Having trouble installing the Rails plugin with Rspec 0.7.5
Hi,
I''m running Rails 1.1.6 and just installed RSpec 0.7.5. When I try to
install the appropriate Rails plugin, it just says that "Export Complete"
and doesn''t install anything to vendor. I can do it with older version, but
then it''s not compatible with RSpec. Any ideas?
blissdev:~/code/rails/client/wordone > ruby script/plugin install
2007 Oct 24
0
RSpec''d plugin in a non-RSpec rails app?
I have a plugin that uses RSpec, and it''s being used by a Rails app that
does not otherwise use RSpec (and does not want to).
I can install the RSpec gem, but of course there is no RSpec-on-Rails
gem. And I wouldn''t really want to include the whole rspec-on-rails
plugin inside my plugin, even if such a thing would work. Yet it would
be nice if the app''s continuous
2007 Feb 23
5
rspec on rails 0 7 5 1
Hi there,
I can''t upgrade rspec on rails to 0.7.5.1. I followed the install guide
on the website without sucsess. Here''s my env info:
$ rails -v
Rails 1.2.2
$ gem -v
0.9.2
$ spec -v
RSpec-0.7.5.1 (r1395) - BDD for Ruby
http://rspec.rubyforge.org/
$ spec ...
<snip>
############################################################################
Your RSpec on Rails plugin
2006 Dec 08
2
UJS plugin incompatible with RSpec?
Hi all,
Anyone using UJS with RSpec? I have the following view spec:
---- edit_spec.rb
context "accounts/edit" do
fixtures :users
setup do
assigns[:user] = users(:consumer)
end
specify "should display the user info to edit" do
render ''/accounts/edit''
end
end
---- end
that causes this exception:
---- exception
ActionView::TemplateError
2007 May 19
1
RSpec 1.0.0 and a couple of other things
First up, congratulations to the team on RSpec 1.0.0! RSpec is one of
the most vibrant and professionally-run projects in the world of Ruby
open source. Now that there is a commitment to a stable API I think
we''ll see RSpec really take off.
Two quick things...
In the absence of official Spec::UI docs, can Spec::UI be installed
as a Rails plug-in? eg.
script/plugin install
2007 Sep 15
3
How to write a plugin that uses rspec internally?
My team is working on a plugin and we want to use RSpec internally for the
plugin''s tests.
(a) What are some different ways to go about this? Should we rely on the
RSpec gem? Should we expect that the "host" Rails application has installed
the RSpec plugins? Are there other options?
(b) Which approach from (a) would you recommend?
(c) Would you recommend any particular