GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hashrocket/view_specify: Auto-generate RSpec view specs by interrogating your existing views.

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
generators/view_specify
generators/view_specify
 
 
test
test
 
 
MIT-LICENSE
MIT-LICENSE
 
 
README.textile
README.textile
 
 
Rakefile
Rakefile
 
 
init.rb
init.rb
 
 

Repository files navigation

view_specify

That’s “speck-a-fie.” This plugin auto-generates RSpec view specs by interrogating your existing
views. It looks through your views, mocking all instance variables and stubbing all helper method
calls and routes off template.

Pardon our dust; this is alpha software. But, it serves as a handy, time-saving first pass at
writing your view specs.

You can add extra template stubs, if you need, with the --stubs option.

Current limitations:

  1. you have to add the --force option for subsequent runs
  2. mocking “dot chains” doesn’t work right now

  Example:
      ./script/generate view_specify [--stubs=stub1,stub2,stub3]

      This will create:
          spec/views/[each_view_dir]/[each_view]

Copyright © 2008 Obie Fernandez, Jon “Lark” Larkowski, and Hashrocket, released under the MIT license

About

Auto-generate RSpec view specs by interrogating your existing views.

hashrocket.com/

Resources

Readme
MIT license
Activity
Custom properties

Stars

54 stars

Watchers

8 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.