search for: page_nam

Displaying 16 results from an estimated 16 matches for "page_nam".

Did you mean: page_num
2011 Mar 21
1
Getting user session object in cucumber
...r on login page When user login with valid credentials Then user should be on project list page Scenario: Create New Project When user create a project with name "Test" Then user should see "Test" on project list page" My Steps are as follows:- Given /^user on (.+)$/ do |page_name| visit path_to(page_name) end When /^user login with valid credentials$/ do fill_in(''Email'', :with=>"john_rennie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org") fill_in(''Password'', :with=>"neova123") click_button("Login") e...
2007 Jul 24
4
spec''ing helpers that use controller
Hi all, I''m in the process of creating rspecs for my helpers. One of the helpers in app/helpers/application_helper.rb looks like this: def page_name @page_name || "Define @page_name in #{controller.controller_name}::#{controller.action_name}" end The rspec is simply: it "should something" do page_name end Running ./script/spec spec/helpers/application_helper_sp...
2006 Apr 26
2
Retrieving :id without passing it
...ay, how http://rails.techno-weenie.net calls the specific questions on his site. I can currently map the url correctly, however I have no way of retrieving the proper value of the id from the url to determine what page to render. My routes.rb looks as follows: map.page '':parent_name/:page_name'', :controller => ''admin'', :action => ''render_page'', :requirements => { :parent_name => /[\w-]+/, :page_name => /[\w-]+/ }, :page_name => nil Can I pass the ID of the page without actually revealing it within the URL? Or perhaps I...
2009 May 06
0
Cucumber, Webrat, RSpec and Mechanize for Non-Ruby Apps
...ode = :mechanize end #... class MechanizeWorld < Webrat::MechanizeSession require ''spec'' include Spec::Matchers end #... #/cuketest/features/support/paths.rb module NavigationHelpers # Maps a name to a path. Used by the # # When /^I go to (.+)$/ do |page_name| # # step definition in webrat_steps.rb # def path_to(page_name) case page_name when /the homepage/ ''/'' # Add more mappings here. # Here is a more fancy example: # # when /^(.*)''s profile page$/i # user_profile_path(User....
2013 Jun 18
1
Rails 3 in action book: some files are not generated as written in the book
...enerator > rails generate cucumber:install has to also generate the definition for the first step of the Scenario "Given I am on the homepage" in the file "features/step_definitions/web_steps.rb" # file: features/step_definitions/web_steps.rb Given /^(?:|I )am on (.+)$/ do |page_name| visit path_to(page_name) end But it doesn''t. Also it doesn''t generate module NavigationHelpers along with the "features/support/paths.rb" file. Why does it happen? Is it just a deprecated behavior and now cucumber doesn''t generate those files? -- Posted...
2008 Mar 25
0
Questions about backgroundrb
...revolution page of myspace and user y wants to track /facebook_suks page of myspace. As you mentioned earlier, tracking itself will be invoked from rails hence, assuming our myspace worker is already started, we will send following data to the worker: MiddleMan.worker(:myspace_worker).crawl_page(:page_name => "social_revolution",:user_id => x) Where crawl_page is a method inside MyspaceWorker. class MyspaceWorker<BackgrounDRb::MetaWorker def create @crawled_data = {} @data_mutex = Mutex.new end def crawl_page options = {} thread_pool.defer(options) { start_c...
2015 Aug 22
2
Russian wiki
...nov <arinov.ilyas at gmail.com> wrote: > I have to update pages twice now to see its content. > > --> --> > > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line 1207, in > run > handler(self.page.page_name, self) > File > "/var/www/html/wiki.centos.org/wiki_instance/data/plugin/action/show.py", > line 27, in execute > if not request.user.may.read(pagename): > File "/usr/lib/python2.6/site-packages/MoinMoin/security.py", line 111, in > _getPermission >...
2006 Mar 17
10
breadcrumbs?
Before I start down this road, has anyone done a breadcrumbs implementation they''d be happy to share? Thanks Chris T
2008 Nov 28
2
force channel hangup
Hi guys, I have 1 zap channel in my house shared among couple people. If someone dials 911, I want that zap channel to be disconnected right away to make way for the 911 call. I dug through voip-info.org and didn't find much. Any hints? kel
2005 Feb 22
1
Instiki @ O''Reilly ETech 2005
Hi all, Sorry if I should be posting this elsewhere--I couldn''t find an Instiki specific mailing list, but the Instiki site is down. I wanted to mention that my friend Tim Lauer and I are going to be doing a short "high order bit" talk at the O''Reilly Emerging Technologies conference, describing a particular use of Instiki which we came up with:
2008 Nov 29
0
asterisk-users Digest, Vol 52, Issue 81
...e 1 zap channel in my house shared among couple people. If someone > dials 911, I want that zap channel to be disconnected right away to make > way for the 911 call. > > I dug through voip-info.org and didn't find much. > Any hints? > i use this: http://messinet.com/index.php?page_name=Asterisk&wikipage=Asteriske911 -- Anthony - http://messinet.com - http://messinet.com/~amessina/gallery 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197...
2015 Aug 22
2
Russian wiki
I am not sure, but ru section fails to load now. Last changes was translating SIG section. Please, help to fix this issue. 2015-08-22 21:24 GMT+06:00 Ilyas Arinov <arinov.ilyas at gmail.com>: > Thanks. Now I can do it by myself. > > 2015-08-22 19:43 GMT+06:00 Alan Bartlett <ajb at elrepo.org>: > >> On 22 August 2015 at 14:37, Akemi Yagi <amyagi at gmail.com>
2008 Jul 22
1
Looking for a more robust Click to Dial/Web Dial solution than AsteriDex (potential for a bounty!)
I realize this may be less of an Asterisk question and more of a... well... everything but asterisk, but still relating to asterisk question. I was looking for a Click to Dial/Web Dial solution and I found AsteriDex. I'm looking for something I can use on the road where I can hit an internal Click to Dial/Web Dial page from my cell, tap on a number and have it bridge a call between
2015 Aug 22
0
Russian wiki
...> > I have to update pages twice now to see its content. > > > > --> --> > > > > Traceback (most recent call last): > > File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line > 1207, in > > run > > handler(self.page.page_name, self) > > File > > "/var/www/html/wiki.centos.org/wiki_instance/data/plugin/action/show.py > ", > > line 27, in execute > > if not request.user.may.read(pagename): > > File "/usr/lib/python2.6/site-packages/MoinMoin/security.py", line &...
2015 Aug 22
0
Russian wiki
I have to update pages twice now to see its content. --> --> Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line 1207, in run handler(self.page.page_name, self) File "/var/www/html/wiki.centos.org/wiki_instance/data/plugin/action/show.py", line 27, in execute if not request.user.may.read(pagename): File "/usr/lib/python2.6/site-packages/MoinMoin/security.py", line 111, in _getPermission allowed = self.request.cfg.acl...
2015 Aug 23
2
Russian wiki
...twice now to see its content. >> > >> > --> --> >> > >> > Traceback (most recent call last): >> > File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line >> 1207, in >> > run >> > handler(self.page.page_name, self) >> > File >> > "/var/www/html/wiki.centos.org/wiki_instance/data/plugin/action/show.py >> ", >> > line 27, in execute >> > if not request.user.may.read(pagename): >> > File "/usr/lib/python2.6/site-packages/MoinMoin/s...