# \`:example\` and \`:group\` scope aliases

**URL:** <https://www.ruby-forum.com/t/example-and-group-scope-aliases/202731>\
**Category:** RSpec\
**Created:** [February 4, 2011, 5:16pm UTC](https://www.ruby-forum.com/t/example-and-group-scope-aliases/202731 "2011-02-04T17:16:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [February 4, 2011, 5:16pm UTC](https://www.ruby-forum.com/t/example-and-group-scope-aliases/202731/1 "2011-02-04T17:16:22Z")

</div>

As per a discussion on the mailing list [1], Evgeniy D.  
suggested that if we were going to have aliases, it would be optimal  
to have a change that introduced the aliases of :example, and :group,  
to parallel the existing :suite alias.

I’ve created a pull request that does this. It is here:

> <https://github.com/rspec/rspec-core/pull/297>
>
> As per \[a discussion on the mailing list\](http://groups.google.com/group/rspec/b…rowse\_thread/thread/26ea96043f46b3b6), Evgeniy Dolzhenko suggested that if we were going to have aliases, it would be optimal to have a change that introduced the aliases of \`:example\`, and \`:group\`, to parallel the existing \`:suite\` alias.
> 
> Here is a change that does this.

[1]  
[http://groups.google.com/group/rspec/browse\_thread/thread/26ea96043f46b3b6](http://groups.google.com/group/rspec/browse_thread/thread/26ea96043f46b3b6)

## ~ jf

John F.  
Principal Consultant, BitsBuilder  
LI: [http://www.linkedin.com/in/johnxf](http://www.linkedin.com/in/johnxf)  
SO: [User John Feminella - Stack Overflow](http://stackoverflow.com/users/75170/)
