Skip to content

Commit 5cfb588

Browse files
committed
Copyedit and update README
1 parent 33d8283 commit 5cfb588

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.markdown

+9-7
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@ FakeFS::SpecHelpers to turn FakeFS on and off in a given example group:
7070
See `lib/fakefs/spec_helpers.rb` for more info.
7171

7272

73-
Integrating with other file system libraries
73+
Integrating with other filesystem libraries
7474
--------------------------------------------
75-
Libraries like [FileMagic](https://rubygems.org/gems/ruby-filemagic) add
76-
additional functionality to the File class. These should be monkey-patched in
77-
your test harness' helper file.
75+
Third-party libraries may add methods to filesystem-related classes. FakeFS
76+
doesn't support these methods out of the box, but you can define fake versions
77+
yourself on the equivalent FakeFS classes. For example,
78+
[FileMagic](https://rubygems.org/gems/ruby-filemagic) adds `File#content_type`.
79+
A fake version can be provided as follows:
7880

7981
module FakeFS
8082
class File
@@ -110,7 +112,7 @@ Speed?
110112
Installation
111113
------------
112114

113-
### [Gemcutter](http://gemcutter.org/)
115+
### [RubyGems](http://rubygems.org/)
114116

115117
$ gem install fakefs
116118

@@ -127,7 +129,7 @@ Once you've made your great commits:
127129
1. [Fork][0] FakeFS
128130
2. Create a topic branch - `git checkout -b my_branch`
129131
3. Push to your branch - `git push origin my_branch`
130-
4. Create an [Issue][1] with a link to your branch
132+
5. Open a [Pull Request][1]
131133
5. That's it!
132134

133135
Meta
@@ -142,7 +144,7 @@ Meta
142144
* Gems: <http://gemcutter.org/gems/fakefs>
143145

144146
[0]: http://help.github.com/forking/
145-
[1]: http://github.com/defunkt/fakefs/issues
147+
[1]: http://help.github.com/send-pull-requests/
146148

147149
Releasing
148150
---------

0 commit comments

Comments
 (0)