similar to: Rspec

Displaying 20 results from an estimated 10000 matches similar to: "Rspec"

2013 Sep 04
7
Shift from mongrel to webrick
Hi Everyone I have installed mongrel gem and in my dev I can able to run my app on mongrel but If I want to shift to webrick how can I shift easily with out uninstalling the mongrel gem Thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send
2011 Aug 16
7
left menu for Fedena Project
i wanna add left menu in the http://demo.projectfedena.org/ login:admin password:admin123 as there is no left menu in that i thought of adding a left menu. can any one tell how to do that with ROR. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2013 Jul 24
12
Want to send password via SMS
Hi I am saving password with hashed_password and salt in table. Now I need to send those passwords via SMS can it be possible.Kindly give me some suggestion plz . Thanks in advance Cheers -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to
2012 May 31
13
Biometric Device Installation
I am using Project fedena <http://projectfedena.org/> for School Management software a ROR application. i want to attach a biometric device for students & employee attendance , any one can suggest me how i can do it. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit
2012 Jul 20
2
scheduling mails in 2.3.8
Hi all, How can i send mails in rails 2.3.8 and schedule them when i need it. i''ve tried with whenever gem but it did not work properly . can any one help me out . thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2012 Apr 10
2
how to use cronjob
hey everyone i want to send mails by scheduling the time dynamically.lets say in a single table i have all the employee logs who came at different timings.they are from different locations and departments. i want to send mails to different mails ids according to there location to there HR. can i do this with cron job. thanks in advance -- You received this message because you are subscribed to
2013 Aug 30
3
rspec-puppet not working
I''m trying to get rspec-puppet working and have run into a problem. I have a VM running ubuntu lucid, have installed rubygems 1.3.5 from the apt package and have install rspec-puppet (and other required gems), and rake, using gem install. I''ve run rspec-puppet-init in the module I want to test, and have created a very basic spec file for one of the classes in my module.
2013 Jun 27
5
Is it possible to pass extra flags to Puppet via rspec?`
Hello, I''m writing my first puppet function rspec test and am having a problem which I don''t see how to solve. The function (and the test) involve access to files through the File Server. In order for the function (and the test) to work I need to pass "--fileserverconf=fileserver.conf" parameter to Puppet. So far I haven''t found a way to do that. If I
2012 Nov 12
7
RSpec: controller POST create
Rails 3.1.3 rspec-rails (2.11.4) rspec 2.11.1 I am new to rspec. I don''t quite understand tests for POST create part. I have generated scaffold, and simultaneously it generated controller_spec.rb as well. it "assigns a newly created plan as @plan" do post :create, {:plan => valid_attributes}, valid_session assigns(:plan).should be_a(Plan)
2013 Nov 22
2
Cancan Rspec load_and_authorize_resource
Hello! While running bundle exec rake, I receive following error (see in attached file) However, my tests are steel passing with command rspec spec/controllers/ Some info: ads_controller.rb: class AdsController < ApplicationController load_and_authorize_resource except: :create end ads_controller_spec.rb: require ''spec_helper'' describe AdsController do render_views
2012 Feb 09
7
ruby script/server is not working
hi everyone i just typed ruby script/server -d and then after when i type again it is not working. i got this error [2012-02-09 16:19:54] WARN TCPServer Error: Address already in use - bind(2) Exiting /usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Address already in use - bind(2) (Errno::EADDRINUSE) from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new'' from
2012 Dec 17
3
Rspec with rspec-hiera-puppet
I''ve been working on getting spec tests on all of my modules and am down to ones that use hiera and don''t have any reasonable defaults. It looks like there is a project on GH (https://github.com/amfranz/rspec-hiera-puppet) that is designed to fill this need, but for the life of me I cannot make it work. FriedBob helped out on the IRC channel some with his solution of including
2012 Jun 12
2
how to connect rails app using monodb
hi all i ve installed monodb this is the first time ive installed it and don''t have any idea how to use it. previously ive used MYSQL for my apps. now i want to use monodb . can any one help me out how to use monodb . does it have any interface just as MYSQL. as there is no yml file needed how do i connect my app thanks in advance -- You received this message because you
2013 Sep 17
6
rspec-puppet require syntax
Can someone tell me the correct way to specify the following require statement in an rspec-puppet test? *require => [Class[''ssl''],Class[''pcre3''],Staging::Extract["nginx-${version}.tar.gz"]]* I tried this: *''require'' =>
2013 Nov 22
4
Delayed JOB ISSUE
Hi all I am using delayed jobs to send sms I am using "http://github.com/tobi/delayed_job/tree/master". In my other website my delayed job is working fine. Recently I have took one new domain in the same server which I have my other app''s which are working fine. Now the issue is after taking new domain and running the old app with new domain delayed job is not working
2013 Jun 18
1
Getting rspec error: Net::SMTPServerBusy: Relay access denied
I''m trying to test registration emails (sent with devise), and I keep getting the error: Net::SMTPServerBusy: 454 4.7.1 <model_spec-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>: Relay access denied I''m running Rails 3.2.11 with Capybara, and I have (temporarily) chopped my spec_helper.rb and test.rb files down to the bare minimum, still getting the error above.
2013 Mar 16
3
Do you ALWAYS use "bundle exec rspec spec" tests?
I''m going through Michael Hartl''s Rails tutorial, and I am happy to report that (as of the end of section 7) I''m able to get things working. (That said, I skipped the section on automated testing, as Hartl warned that automated testing is the most likely part of his book to become outdated.) There is a heavy emphasis on the "bundle exec rspec spec" tests.
2012 Sep 15
2
[RSpec Testing] Methods take two arguments
Hello, Here is my *pdf_helper.rb* => http://pastebin.com/QU1kTKXk. I want to test, if self.create method can take more than two arguments. But, when I try to run my test. It showed *PdfHelper Should have two arguments Failure/Error: create_pdf.should_receive(object,template).with(user,file) NameError: undefined local variable or method `create_pdf'' for
2013 May 13
1
Rspec-puppet: what is differences between contain_class, include_class, create_class?
Hello, everyone! Does anyone can tell me about differences (or help to find any document or source code with the answer) between functions: * contain_class * include_class * create_class Which one is preferred in which cases? Thank you, in advance. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and
2012 Jul 04
1
How to use wheneverize gem
Hi all i''m trying to use wheneverize gem to schedule my mails and to run a specific file in controller.i tried but unable to send mails. i am using rails 2.3.8 and ruby 1.8.7 . ive followed the https://github.com/javan/whenever this link Thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this